HiI want to know if its possible to to load on demand the child node of igTreeGrid?I saw this http://www.igniteui.com/help/igtreegrid-load-on-demand, but i thinks is out datedCan you show me a example with version 16.1?Thank you
Hello Paulo,
I found the another post where the other developer(Maya)has provided some more information
regarding “Load On Demand” feature with ajax request.
Please refer the below post:
http://ko.infragistics.com/community/forums/p/96905/478454.aspx#478454
And let me know if you need further assistance.
HiThanks for your responseBut if i want to use AJAX to make a request to my API to get the child records, how can i do that?Thats my problem.Thank you
The igTreeGrid Load on Demand feature allows for binding to a remote data source and only initially loading the visible data into the grid. Additional data is available by making remote requests for child records "on demand" as the parents are expanded that is why we have MVC sample with remote data source.
Load on demand doesn’t work on local data Source. In jQuery or html sample you can set initialExpandDepth property in the grid, this property specifies the depth down to which the tree grid would be expanded upon initial render. To expand all rows set value to -1. Default is -1.
To know more all the behaviors and property of igTreeGrid you can refer the following link:
http://www.igniteui.com/help/api/2015.2/ui.igtreegrid
Please let me know if you need further assistance.
Thank you for the responseBut there is only MVC example in documentation, there are some example using JQuery/HTML?Thanks
Hello Pereira,
Thank you for providing the document link of igTreeGrid though I am afraid the link you provided is not outdated or an old version, even it is the most latest version 16.2 of Infragistics.
To refer the API document of igTreeGrid with version 16.1 you can refer the following link:
http://www.igniteui.com/help/igtreegrid-load-on-demand?v=16.1
Please note when you will open this link you can see there is a version link on very top of the page when you will click on that link you can see all the versions list out there and you can choose any specific version to get the document belongs to that version.
At the bottom of the document you will get the sample of load on demand at child level in igTreeGrid .
I can also provide you the link of the sample as:
http://www.igniteui.com/tree-grid/load-on-demand