ej2-grids icon indicating copy to clipboard operation
ej2-grids copied to clipboard

Error Cannot read property 'getPanel' of null

Open zygisjas opened this issue 5 years ago • 2 comments

err

When there is no data given it throws an error, how to fix this?

zygisjas avatar Aug 19 '19 15:08 zygisjas

Did you get a resolution on this?

mokkymiah avatar Feb 22 '24 15:02 mokkymiah

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}

dmaddx avatar Mar 22 '24 18:03 dmaddx