Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Cliff on Mar 11, 2008 23:45
open dhtmlx forum
enableCheckBoxes for tree grid

Hi is it possible to enable checkboxes for a tree grid.

treegrid.enableCheckBoxes(true);??
I know this is possible for the tree...Or is there another solution for the tree grid with similar functionality
Thanks again
Cliff
Answer posted by Support on Mar 12, 2008 09:59
There is no such feature as built in checkboxes in case  of TreeGrid, but because it is a Grid, you can define checkboxes as separate column

    var grid = new ..
    grid.setColTypes("ch,tree,ro,ro");    // first column checkbox, second tree element
Answer posted by Support on Mar 12, 2008 10:00
TreeGrid doesn't support all functionality of dhtmlxtree, it mostly Grid which supports some functionality of Tree