addRowCss()
adds a style to a row
addRowCss(rowId: string | number, css: string): void;
Parameters:
rowId: string | number
- the id of a rowcss: string
- the name of the CSS class
Example
<style>
.myCustomClass{
background:greenyellow;
}
</style>
<script>
...
grid.addRowCss("2", "myCustomClass");
</script>
Related sample: Grid. Add row CSS