using dhtmlxtreegrid load XML with expand attribute

I am using XML to load heirarchy and specific rows need to be expanded. I have tried the following XML format, without success.



<?xml version="1.0" encoding="utf-8" ?>





Folders



windev.domain.com

22



Domain Controllers

1





Computers

1





Development

20



Broker

10





Keeper

10













How do I specify in the XML stream that a given row should be expanded?



Thanks in advance.

Gyle

Please try to replace it with
<row id=“1” open=“1”>


Thanks, Alex.



That fixed the issue. Is there some place where I can find this documented?



Best regards,



Gyle


The detailed xml format for all dhtmlx components can be found at the following page


dhtmlx.com/docs/products/doc … index.html


Hello, Alex.



Referring to the doc link you provided…



row tag represent row of grid, one tag for each row
supports all attribute of normal grid + two additional

Attributes

expand branch will be expanded on load, attribute need to be skipped if you want to have closed branch

 


 


xmlkids


used in dynamical loading mode only,


 



attribute states that there are some sub-rows exists, but they not loaded yet,
component will send additional request on item opening, to fetch additional data


There is no reference to open.


 


Hello, Gyle.


Yes, there is a mistake in the documentation.


Sorry for the misleading information.


We will necessary change this page at our website.


Hello, Alex.



Your company should consider ways for your customers to contribute to correcting errors in the product documentation. A Wiki or blog per page would probably do the trick.



Best regards,



Gyle


Hello,


Thank you for suggestion.


It sounds like a very good idea. It is possible that we will create something similar.