Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Bala on Jun 19, 2009 09:14
open dhtmlx forum
Uncheck the master check box of a dhtmlgrid

Can we uncheck the master check box of a dhtmlgrid explicitly from javascript? . Refreshing the grid does not seem to reset this
check box.
Answer posted by dhxSupport on Jun 22, 2009 03:53
Unfortunately dhtmlxGrid hasn't appropriate method to click master_checkbox with API. But you can use method mygrid.unchekcAll(). To access to the #master_checkbox and mark it as uncheck you can use:
mygrid.hdr.rows[1].cells[INDEX].firstChild.checked="true";

where INDEX - index of a column