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
250
Need a working example for igHierarchicalGrid in JQuery using either REST or ODATA settings with LOAD ON DEMAND
posted

Hi All,

I have an requirement that i need to load data on demand for igHierarchicalGrid. I am not able to give configuration of datasource using either ODATA or REST settings. What i need is, when user clicks on expand button, then there should be one request made to my server which returns data only for that subchild. 

The major issue I am facing is not able to give datasource or dataUrl from which, data will be loaded on the fly. Whatever examples i am getting is for ASP.NET MVC, which is of no help to me. I tried setting the dataSource in ColumnLayout as path to my request, but I am getting error as: 
Uncaught TypeError: Cannot read property '__deferred' of undefined

And also, i will need that while querying server, how can I send data or parameters in the request, the parameter should be set from the entries of the parent row which is getting expanded, NOT NECESSARY THE PRIMARY KEY

I tried the approach at http://ko.infragistics.com/community/forums/t/79652.aspx, but failed

Any sort of help will be appreciated

Regards, 

Parents Reply Children
No Data