Categories | Question details Back To List | ||
Expanding is going wrong I am using the open="1" attribute to open a row but it is not working on a sublevel. ROOT Level 1 Level 2 --> I want this one to open, but is doesn't. Preview XML. <rows> - <row selected="1" id="map_0" open="1"> <cell image="folder.gif">Archiefdocumenten2</cell> <cell>31-03-2009</cell> <cell /> - <row id="map_361"> <cell image="folder.gif"><a href="/archief/documenten/bewerkmap/map-361.htm">Test map WDT</a></cell> <cell>03-02-2009</cell> <cell>Kevin van der Laak</cell> - <row id="map_362" open="1"> <cell image="folder.gif"><a href="/archief/documenten/bewerkmap/map-362.htm">Test submap WDT</a></cell> <cell>03-02-2009</cell> <cell>Kevin van der Laak</cell> - <row id="doc_297"> <cell><a href="/archief/documenten/detail/bestand-297.htm">20090203_huis_ideeen.doc</a></cell> <cell>03-02-2009</cell> <cell>Kevin van der Laak</cell> </row> - <row id="doc_413"> <cell><a href="/archief/documenten/detail/bestand-413.htm">20090331_briefpapier.pdf</a></cell> <cell>31-03-2009</cell> <cell>Kevin van der Laak</cell> </row> </row> + <row id="doc_296"> <cell><a href="/archief/documenten/detail/bestand-296.htm">20090203_poster_b2.txt</a></cell> <cell>03-02-2009</cell> <cell>Kevin van der Laak</cell> </row> </row> Answer posted by Support on Mar 31, 2009 07:33 Are you mean treegrid or sub-rows|sub-grids functionality?, "open" attribute supported by treegrid only. Also, beware that if you have such structure as <rows> <row id="some1"> <row id="some2" open="1"> <row id="some3"> In result you will have branch "some2" opened, but because its parent closed - it will not be visible after loading. To work as expected both branches "some1" and "some2" must have "open" in XML So it must look as <row selected="1" id="map_0" open="1"> <cell image="folder.gif">Archiefdocumenten2</cell> <cell>31-03-2009</cell> <cell /> <row id="map_361" open="1"> <cell image="folder.gif"><a href="/archief/documenten/bewerkmap/map-361.htm">Test map WDT</a></cell> <cell>03-02-2009</cell> <cell>Kevin van der Laak</cell> <row id="map_362" open="1"> If such way of marking can't be achieved in your case , it possible to extend existing functionality through API and events, please inform if you need more details about such modification. |