Infragistics grid does not work properly when "Hierarchical Data Grid" and “infinite scrolling” behavior is clubbed together. It does not show any child data when I try to expand a row.
Hi Arunava,
Your current query sounds similar to this other forum thread from yesterday that I am assisting you with, however it addresses the Hierarchical Grid, is this correct?
I am wondering if you had the chance to review the Hierarchical Grid Remote Data Operations topic in our documentation? There you can find examples on implementing remote data operations in the hierarchical grid.
You will notice that for the child row islands, the gridCreated event is used to get the child data from the remote service.
Could you please elaborate further on the issue you are experiencing? Is it reproducible in any of the demos in the referenced topic? My suggestion is to try to isolate the behavior in a small StackBlitz sample and send it back to me along with steps to reproduce.
Thank you for your cooperation.
Best regards,Bozhidara PachilovaAssociate Software Developer
Hi Bozhidara,
Yes! It addresses the Hierarchical Grid. I am trying to incorporate infinite scroll in Hierarchical Grid. But it is not working perfectly. I am not able to see the child items once I expand any row. You can refer this sample where I have isolated the behavior in StackBlitz.
Regards
Thank you for the provided sample!
My suggestion would still be to implement the hierarchical grid with load on demand for children along with the remote paging functionality, as demonstrated in the documentation demo. It appears that loading root records on chunks and in result reassigning the root grid's data, interferes with the grid creating child row islands.
Alternatively, I can suggest not using virtualization for the root level, i.e. loading the top-level records initially, as in this demo. It follows the approach suggested in our documentation about using load on demand with the hierarchical grid here.
After further investigation, I determined that the hierarchical grid could be used in a remote virtualization scenario for the root level as well. I can suggest taking a look at this sample which demonstrates this along with proper loading of child row islands.
Best regards, Bozhidara Pachilova