ej2-grids
ej2-grids copied to clipboard
Error Cannot read property 'getPanel' of null
When there is no data given it throws an error, how to fix this?
Did you get a resolution on this?
I had this problem as well. On the grid component if you enable sticky headers and the grid is empty and you scroll on the page, we were generating thousands of errors.
Our solution was to turn off sticky headers if grid was empty. enableStickyHeader={dataSourceVariable?.length > 0}