To select all check box


Is there a provision to select all in check box column?



Gayathri.


to select a checkbox in grid means to set 1 value in a cell. So, you can use the common approach for setting values in a column:


grid.forEachRow(function(rowId){


grid.cells(rowId,columnIndex).setValue(1);


})


Where columnIndex is index of the “ch” column.