Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kunal on Nov 13, 2008 00:17
open dhtmlx forum
how to set value for checkbox in grid

hello,

I am using check box as column type in dhtmlxgrid in my code..
for eg.
mygrid.setColTypes('..,...,ch');
mygrid.cells2(i,colIndex).setValue(0);// for unchecked checkbox
or
mygrid.cells2(i,colIndex).setValue(1);// for checked checkbox

Is there any way to set value for checkbox other than zero & one?


Answer posted by Support on Nov 13, 2008 05:14
Keys for checked and unchecked states hardcoded and can't be changed without code modification.