reactgrid icon indicating copy to clipboard operation
reactgrid copied to clipboard

feat(grid): adds "onError" prop to be able to call a function on grid…

Open MateuszTrN opened this issue 4 months ago • 0 comments

Issue: When the grid fails to render (and throws an internal exception), there’s no way to react to that event.

Solution: Add an onError prop that is called within the ErrorBoundary.

It can either return nothing (acting only as a side-effect handler), or return a ReactNode that would be displayed instead of the current predefined error view.

I’m open to changes, but I really need a way to call a function when an error occurs.

MateuszTrN avatar Oct 10 '25 09:10 MateuszTrN