LIDOR SYSTEMS

Advanced User Interface Controls and Components

IntegralUI Web

Documentation and API Reference


loadData(name, data, parent, fields, flat)

Loads data from local or remote data source into TreeGrid.

Parameters

ParamTypeDetails
nameStringThe value of name attribute of the TreeGrid directive
dataArrayAn array of row objects from local or remote data source
parent (optional)ObjectThe row which will represent the parent of the newly added rows from the data source
fields (optional)ObjectAn object that matches the names of data fields from specified data source to the ones in TreeGrid
flat (optional)BooleanDetermines whether the data source is a tree hierarchy or a flat list

Return Value

This method does not return a value.

Remarks

This method is part of IntegralUITreeGridService.

You can use this method to load data on demand, updating the whole TreeGrid in the process or the content of some specified row.

Version Information

Supported in: v1.0.

Articles & Samples

See Also