Available in the Full Version
Tree Grid > Load on Demand
This sample uses CTP (Community Technical Preview) features. The API and behavior may change when these features are released with full support.
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.