| A TreeLoader provides for lazy loading of an
TreeNode 's child nodes from a specified URL.
The response must be a Json array definition who's elements are node definition objects. eg:
[{ 'id': 1, 'text': 'A folder Node', 'leaf': false },
{ 'id': 2, 'text': 'A leaf Node', 'leaf': true }]
A server request is sent, and child nodes are loaded only when a node is expanded. The loading node's
id is passed to the server under the parameter name "node" to enable the server to produce the correct
child nodes.
|