Available in the Full Version

Tree Grid > Load on Demand

This sample is designed for a larger screen size.


On mobile, try rotating your screen, view full size, or email to another device.

This sample demonstrates how to use the load on demand functionality of igTreeGrid. Load on demand functionality enables the tree grid to request the data for the child nodes from the server as the user interacts with the grid (expands a node). This approach significantly reduces the amount of data being transferred between the browser and the server. In order to take advantage of the remote load on demand functionality the controller action responsible for processing the requests should be decorated with TreeGridDataSourceAction attribute. As you expand a row, the grid makes an Ajax call to the server.

Code View

Copy to Clipboard