The demonstrated approach uses the approach we use when working with regular Kendo Templates. In the above example, the difference versus the original example is the definition of the generateAltRowTemplate method in the index.js file. Here is it:
What we do with the above snippet is to check the value of the Country field in each even row of the Grid. If the value is equal to "USA" then we set a red background color to the current row.
I hope the given implementation will help you resolve your issue. If you have questions, please let me know.
Regards,
Petar
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items