If I am getting you right you want to have different Style
for the weekdays and the weekend ones. If that is your goal, then CellStyleSelector
is exactly what you need. The number of columns is irrelevant to this case.You will just need to define your CellStyleSelector
and set it programmatically to the dynamically created columns. You could check programmatically if a particular day is from the workweek or from the weekend and simply return the Style
according to that day.
I have modified the sample project in a way that it reproduces the above scenario.
I hope that this helps.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.