requestData(indexes, parent);
indexes. Array. Array of indexes.
Parent. Object. Parent node.
The requestData method requests dynamic tree loading.
If the parent node is specified, indexes are specified for children. If the parent is not specified, indexes are specified for the entire visible tree.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Load the first child of the first node Tree.requestData([0], 0)
After executing the example first node child load request is initialized.
See also: