addCellCss

adds a style to a cell

void addCellCss(string|number row,string|number col,string css);

Parameters

rowstring|numberthe id of a row
colstring|numberthe id of a column
cssstringthe name of the CSS class

Example

<style>
    .myCustomClass{
        background:greenyellow;
    }
</style>
 
grid.addCellCss("1", "b", "myCustomClass");

Related samples

See also
Back to top