
07-27-2006, 11:57 PM
|
|
Graal Administration
|
Join Date: Jan 2000
Location: Admins
Posts: 11,693
|
|
|
For the tree view you set attributes like this:
sortmode = "value";
sortorder = "descending";
groupsortorder = "ascending";
For the nodes then:
sortvalue = 1;
sortgroup = 2;
That would sort the nodes after the value you have assigned to them. When you set sortmode="name" then it will be sorted alphabetically. The sort group can be used to let some types of nodes always appear at the top, e.g. in a folder view you would want to display the folders at the top. |
|
|
|