Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Gayathri on Dec 21, 2009 05:53
open dhtmlx forum
Master check box default check all

Hi

Is there a way of having the master check box selected by default on grid load?

 

Gayathri

Answer posted by dhxSupport on Dec 21, 2009 08:24
It can be done only with code modification. In the file dhtmlxgrid_filter.js 

dhtmlXGridObject.prototype._in_header_master_checkbox=function(t,i,c){
 t.innerHTML=c[0]+"<input type='checkbox'
checked />"+c[1];
...
 }