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
2515
Load On Demand Using Custom Code to Load Child Grids
posted

We are using Ignite UI 2014.2 to generate an igHierarchicalGrid. We currently have our own technique to retrieve data (in JSON format) using AJAX calls, but we also need to use Load On Demand techniques for the grid to avoid performance issues. 

I need to be able to do the following:

1. Dynamically assign a data source to the child grid associated with a parent row (where the parent row could be a root row or a row in a previously populated child that can have its own child grid).

2. Do the dynamic assignment after clicking the + to expand the row. Is there some event I should do this in? I would call our custom code using AJAX to generate a JSON string that I then want to set as the data source for the populating child grid.

I have read the techniques for using ASP.NET MVC, OData, or REST to perform the Load on Demand processing, but we need to use our custom method to obtain the data.