Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by andreea on Apr 24, 2008 11:00
open dhtmlx forum
how do I make the rows of a subtree visible? I made an xml and load it but only the parent rows are visible( like in a simple grid)


Answer posted by Support on Apr 25, 2008 03:40
Please be sure that you have defined some column as tree
    grid.setColTypes("tree,ro,ro,ro")
and your XML has nested row elements where necessary - in such case grid must render a plus icons for rows with sub-elements
You can force row opening by using
    grid.openItem
or by using open attribute in XML

<row id="some" open="true">
    ...