IgniteUI / igniteui-react

High-Performance Data Grid and High-Volume Data Charts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data loaded/Grid loaded event for IgrDataGrid

jainankit2474 opened this issue · comments

As mentioned on Infragistics forum question, unfortunately there does not exist an event on the grid itself that fires for it being “finished loading”. We need that event for our workflow where we want to load the layout once the grid data is completely loaded. For now using ref event for the Grid but it's throwing an error.

Uncaught TypeError: Cannot read properties of undefined (reading 'd')
at SpatialEngine2.l (ColumnFilterCondition_combined.js:30802:28)
at SpatialEngine2.k (ColumnFilterCondition_combined.js:30798:21)
at Grid2.vu (ColumnFilterCondition_combined.js:12111:24)
at Grid2.uv (ColumnFilterCondition_combined.js:11977:14)
at Grid2.uu (ColumnFilterCondition_combined.js:14940:50)
at IgrDataGrid2.loadLayout (igr-data-grid.js:4216:16)
at onGridReference (InfragisticsReactGrid.tsx:171:18)
at commitAttachRef (react-dom.development.js:23645:20)
at commitLayoutEffectOnFiber (react-dom.development.js:23503:9)
at commitLayoutMountEffects_complete (react-dom.development.js:24688:9)