by object attribute do you mean just a list of properties?
I tried the above code combined with the proper tileValueStyle but no luck. I don't see 'cwAppPageBackground' being applied anywhere.
I also tried just setting the field style and using tileValueStyle as 'cwAppPageBackground' and it still doesn't get used.
Code:
tileProperties:{baseStyle:"cwAppPageBackground"},
Code:
isc.TileGrid.create({
tileWidth:150,
tileHeight:190,
height:400,
width:"100%",
showAllRecords:true,
data:animalData,
tileProperties:{baseStyle:"cwAppPageBackground"},
tileValueStyle: "cwAppPageLabel",
fields: [
{name:"commonName"}
]
});
Code:
isc.TileGrid.create({
tileWidth:150,
tileHeight:190,
height:400,
width:"100%",
showAllRecords:true,
data:animalData,
tileValueStyle: "cwAppPageBackground",
fields: [
{name:"commonName", getCellStyle: function (value, field, record, viewer) {return "cwAppPageLabel"}}
]
});
Comment