DataRequest: function(sender, args);
sender. Event source.
args. Event information:
Partial. Boolean. Partial loading indicator.
Parent. String. Key of the node, to which loading is executed.
Request. Array. Array of loaded nodes.
The DataRequest event occurs before changing sorting.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Set event Tree.DataRequest.add( function(sender, args) { console.log("DataRequest event:"); console.log(args); }); // Initialize event Tree.requestData([0], 0);
After executing the example the DataRequest event is added.
See also: