Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ashwini on Aug 20, 2008 22:56
open dhtmlx forum
mastercheckbox: to disable the functionality in rows that dont have a ch

Hi

Am using a grid whose col type is: mygrid1.setColTypes("ch,tree,link,ron,ron,ron,ron,ron,ron,ron,ron,ron");

I have a master checkbox in the header.I have checkboxes only in the rows that i have a parent element(second Col type: tree).
For all the child rows i have changed the col type using :
mygrid1.setCellExcellType('<%=rwsDept.getDeptSkey()%>_<%=jobId%>',"0","ro");
mygrid1.cells('<%=rwsDept.getDeptSkey()%>_<%=jobId%>',0).setValue('');

But now,when i select or deselect the master checkbox, the text 1 or 0 appears in the first column of all the child rows.I dont want them to appear as they dont have a checkbox.Is there a way to specify which rows the master checkbox functionality should apply to or anyother way to make sure that those 0 s and 1 s dont come up in the child rows?
Answer posted by Support on Aug 21, 2008 02:28
Problem confirmed and fixed, please use js file attached to email instead of original one. 
Attachments (1)