mastercheckbox: to disable the functionality in rows that do

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?

Problem confirmed and fixed, please use js file attached to email instead of original one.
dhtmlxgrid_filter.zip (3.92 KB)