Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
125
iggrid 2016.2 html5 hierachical on demand load
posted

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

Parents
No Data
Reply
  • 17590
    Offline posted

    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.

Children
No Data