Quote:
|
Originally Posted by Stefan
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.
|
It would be easier for me if the objects when loaded to an array didn't mix up though. I don't think ascending/descending will make the object look as it should originally :o