Look Grid related page for common syntax
TreeGrid specific
Plain view (html) Plain view (pdf)

<?xml version="1.0" ?> <rows parent="0"> #top xml tag, mandatory <row id="11" expand="1"> #expanded row <cell image="some.gif"> first column data </cell>#custom image for tree cell <cell> second column data </cell> <row id="110"> #sub row <cell> first column data </cell> <cell> second column data </cell> </row> </row> <row id="12" xmlkids="1"> #row has not loaded sub-rows <cell> first column data </cell> <cell> second column data </cell> </row> </rows>

### row

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

####

- expand - branch will be expanded on load
- xmlkids - flag of not loaded child rows
branch will be expanded on load, attribute need to be skipped if you want to have closed branch
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

### rows

just top xml tag, has no special meaning

#### TreeGrid specific attributes

- parent - id of parent row
used in dynamic loading only
attribute contain ID of element for which data in XML must be attached as child rows
"super root" item has ID = 0

### cell

represent cell of grid, supports all attributes used in plain grid

#### TreeGrid specific attributes

- image - image which will be used for related tree cell of row
image which will be used for related tree cell of row