You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It has been asked before, but somehow the answer is not helpful: your tree library contains a "position" attribute, so the nodes of a level can be sorted. I see that some methods have optional "position" paerameters, but I could not figure out how to retrieve a whole (sub)tree (getDescendants / getDescendantsTree) with subtree nodes sorted by position.
Can you please clarify?
Thx, Armin.
The text was updated successfully, but these errors were encountered:
Did a lot of research, and found that closuretable does not seem to honor the "position" attribute when I use getDescendants, but it does so if I use getChildren.
I consider this a bug, at least an annoyance, because
similar functions should behave in a consistent manner
the returned data of getDescendants is worthless for the client, because my client tree structure will not let me assign positions out of order, e.g. i cannot insert position "4" unless positions 1,2,3 have been loaded.
It has been asked before, but somehow the answer is not helpful: your tree library contains a "position" attribute, so the nodes of a level can be sorted. I see that some methods have optional "position" paerameters, but I could not figure out how to retrieve a whole (sub)tree (getDescendants / getDescendantsTree) with subtree nodes sorted by position.
Can you please clarify?
Thx, Armin.
The text was updated successfully, but these errors were encountered: