ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Sunny on June 16, 2015, 02:12:24 pm
-
Hi,
I am able to add/remove class using check/unCheck event when checkbox is clicked on each row. But how to add/remove class to all rows in the grid when checkbox on the header is clicked ?
Note:My grid contains no pagination, all data displayed in one page with scrolling.
Thanks.
-
When checkbox in header cell is checked/unchecked, ui.source == 'header' in the events.
if ( ui.source == 'header' ){
//iterate over dataModel.data
//addClass / removeClass to every row depending upon 'check' or 'uncheck' event.
}