Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by David Hutchings on May 27, 2008 16:13
open dhtmlx forum
Remove checkbox from specific row?

In a treeGrid (v1.5), is there a way to have specific rows not display a checkbox for a "CH" (checkbox) column?

Thanks!
Answer posted by Support on May 28, 2008 01:52
You can use cell types - just redefine cell type to "ro" when you need not checkbox

<rows>
    <row id="1"><cell>1</cell></row>
    <row id="2"><cell type="ro"></cell></row>
</rows>

The second row will be rendered just as empty cell
Answer posted by David Hutchings on May 28, 2008 12:40
Thanks; exactly what I needed.