Forum
02:29
Moderators
30/10/2007
Hello,
First good starts is a documentation - see tree grids
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
11:39
23/06/2009
Hi, I've read the documentation and checked out the examples; I haven't been able to find out how to format the xml to support treegrid with multiple leaves. The documentation's example seems to be incomplete in this respect as it seems to only produce a non-leafed example.
Example(s) would help me get going...
Does anyone have example(s) of the different way(s) we can form the XML to get a leafed result?
Thank you!
-David
02:19
Moderators
30/10/2007
Hello,
It is not so complicated as you say.
You should use only the property isLeaf and export all the leaf nodes. Please see in detail what information additionally is needed to construct the trree grid.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
15:59
16/06/2009
mistertreegrid said:
...
Example(s) would help me get going…
Does anyone have example(s) of the different way(s) we can form the XML to get a leafed result?
Adjacent example with summary row:
<?xml version='1.0' encoding='utf-8'?>
<rows>
<page>1</page>
<total>1</total>
<records>12</records>
<userdata name="aaaa">total</userdata>
<userdata name="bbbb">1b2b3b</userdata>
<userdata name="cccc">1c2c3c</userdata>
<userdata name="dddd">1d2d3d</userdata>
<row>
<cell>1</cell> # row id
<cell>1a</cell> # expanding column
<cell>1b</cell> # column 2
<cell>1c</cell> # column 3
<cell>1d</cell> # column 4
<cell>0</cell> # node level 0
<cell>NULL</cell> # parent row id
<cell>false</cell> # is this a leaf?
<cell>false</cell> # expand?
</row>
<row>
<cell>2</cell> # row id
<cell>2a</cell> # expanding col
<cell>2b</cell> # column 2
<cell>2c</cell> # column 3
<cell>2d</cell> # column 4
<cell>0</cell> # node level 1
<cell>1</cell> # parent row id
<cell>true</cell> # is this a leaf?
<cell>false</cell> # expand?
</row>
<row>
<cell>3</cell> # row id
<cell>3a</cell> # expanding col
<cell>3b</cell> # column 2
<cell>3c</cell> # column 3
<cell>3d</cell> # column 4
<cell>0</cell> # node level 1
<cell>1</cell> # parent row id
<cell>true</cell> # is this a leaf?
<cell>false</cell> # expand?
</row>
</rows>
Most Users Ever Online: 715
Currently Online:
46 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66