Skip to Content
0
Oct 05, 2016 at 07:01 AM

Different color in each tile of tile container.

21 Views

I have made an application . In which there are tilecontainers placed inside expandable panel . Now there is a dropdown in which year are mentioned as shown in ss below:-

Two years are specified inside the dropdown :- 2014 and 2015 . By default 2015 is selected and the data for year 2015 is loaded .

when the page is loaded each tile in tile container was of different color with data of year 2015 . But when I change the year or as soon as event fires the css that I applied for having each tile of different color vanishes and all tile appear with background color white only .

I have written the code to apply class to tile in onAfterReandering function of controller .

But it didn't work .

Can anybody help me to solve this issue ?

Attachments

dropdown.PNG (4.6 kB)