Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    several subtree-views of same tree?

    Hi there,
    I am using the Treegrid object with an xml-based rest datasource. The tree returned by this datasource has a fairly large hierarchy and I've noticed that performance is slow with that many nodes. Therefore, I'm thinking of splitting it out so that I have multiple tabs, one for each subtree root. That way the tree being displayed at any one time is more manageable in size.
    Is there a straightforward way to force a grid to only display a specified subtree of the overall datasource? (I know that I could change the messaging to have a datasource for each subtree but this seems clunky and there are other places where the entire tree hierarchy is useful.

    cheers
    Dan

    #2
    Assuming your server can fetch children by the parent's id, just pass the id of the parent that should be the root as the initial criteria when calling fetchData().

    Comment

    Working...
    X