5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 768 Views |
-
Changing the default loading behaviour of the tree

23 October 2009 at 6:05pm
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?
-
Re: Changing the default loading behaviour of the tree

2 November 2009 at 8:38am
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.
| 768 Views | ||
|
Page:
1
|
Go to Top |


