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.

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