I have requirements to perform on demand load on the hierarchical grid. The initial load will load just the parents. Once user clicks on the parent to expand the row, I want the ability to make a call to a service to retrieve all child details data base on the clicked primary key from the parent. Do you have sample or can you provide guidance how I can achieve this? Thanks
Hello Son,
Thank you for posting in our community.
In our online samples browse we have a working sample illustrating how igHierarachicalGrid can be configured with LoadOnDeman feature. This is done in the controller which is mandatory for load on demand scenario. When you expand a row the data for the child layout will be requested with an AJAX call from the server.
HierarachicalGrid - Load on Demand
Additionally, I believe you will find Load-on-Demand topic from our documentation helpful.
Please let me know if you need any further assistance with this matter.