Jump to:

5537 Posts in 1737 Topics by 1223 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Changing the default loading behaviour of the tree

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 891 Views
  • Marcus
    Avatar
    Administrator
    86 Posts

    Changing the default loading behaviour of the tree Link to this post

    I'm using the tree control to load a hierarchical dataset that's not being pulled from SilverStripe's db, but that load process makes use of some RPC calls to another system, meaning the load of child nodes can take a lot longer. The current behaviour of the tree seems to be that a number of levels of the tree are loaded, then everything else loaded via ajax requests when you expand the node. Is there anything in particular that I should do to enforce the use of ajax calls for loading children?

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Changing the default loading behaviour of the tree Link to this post

    Hm, other than digging through tree.js, LeftAndMain_left.js and CMSMain_left.js? Don't think so ;)
    The tree doesn't really have API documentation, and is only extensible in a limited fashion.
    Hopefully we'll get a new shiny tree library in there soonish, which will be a bit better documented.

    891 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.