If we use paging in TreeGrid, and try to collapse a certain hierarchy, it throws an error.
This can be easily tested with your own example in "https://ej2.syncfusion.com/react/demos/#/material/treegrid/paging"
If you go and ran it on StackBlitz and try to collapse it gives the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'requestType') at Observer.eval (render.js?3632:414) at Observer.notify (observer.js?811a:102) at Grid.Base.trigger (base.js?3923:181) at Render.dataManagerSuccess (render.js?3632:363) at Page.collapseExpandPagedchilds (page.js?3f59:108) at Observer.notify (observer.js?811a:99) at TreeGridComponent.Component.notify (component.js?c155:249) at TreeGridComponent.TreeGrid.expandCollapse (treegrid.js?73ba:2545) at Observer.eval (treegrid.js?73ba:2371) at Observer.notify (observer.js?811a:84) at TreeGridComponent.ComponentBase.trigger (component-base.js?c9da:223) at TreeGridComponent.TreeGrid.collapseRow (treegrid.js?73ba:2369) at TreeGridComponent.TreeGrid.expandCollapseRequest (treegrid.js?73ba:2308) at TreeGridComponent.TreeGrid.mouseClickHandler (treegrid.js?73ba:1625) |
Can you please fix it?
Thank you.