How to clear the css for the column on the default i.e. back to default css.
P.S - For applying custom css I am using addCellCss method.
How to clear the css for the column on the default i.e. back to default css.
P.S - For applying custom css I am using addCellCss method.
You can use eachRow iterator and for each row call removeCellCss, but there is a faster method.
The next command will remove all cell based styles from the datatable
somegrid.data.clearMark("$cellCss");
somegrid.refresh();