dhtmlx grid uncheck all checkbox

Hi,



I am using dhtmlx grid with check box. But while the page onload all the check box are checked. Can u please tell me how to uncheck all the checkboxes on page load.



Thanks

You can try to use the following approach:
function doAfterXMLLoaded(){

    grid.forEachRow(function(id){

       grid.cells(id,INDEX).setValue(“0”);

    })

}
grid.loadXML(url,doAfterXMLLoaded)

Where INDEX is the index of “ch” column