TreeListBase.requestData

Syntax

requestData(indexes, parent);

Parameters

indexes. Array. Array of indexes.

Parent. Object. Parent node.

Description

The requestData method requests dynamic tree loading.

Comments

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.

Example

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:

TreeListBase