If the custom CSS class is added manually to the Grid, it will be removed once the Grid is rebound, because its table is re-rendered.
There are three ways to achieve the desired behavior.
1. You can use the column's attributes
2. You can use a rowTemplate
3. You can add the CSS class in dataBound
, i.e. after each paging, sorting and filtering action.
Of course, option 1 is most preferrable.
If the Grid is created from an existing table, option 3 is required.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI