Treegrid Checkboxes

I am having a dhtmlx tree grid. In the first column of the tree grid I need to have check boxes for the rows which are leaf nodes and having specific row ids. The column type is �tree�.

I should be able to get the row ids of all the rows where the checkboxes are selected.



Please let me know if this is possible and how.

Thanks

You can’t have checkboxes as part of tree cell, but you can just define a separate column of checkboxes

grid.setColTypes("ch,tree,…

To get IDs of checked rows you can use

var list = grid.getCheckedRows(0); // returns comma separated list of IDs