In my current
application when user changes the page - all components are destroyed and new
ones are build dynamically (pretty common Angular way of handling routing)
From time to time,
when user repeatedly changes page with grid - it throws below exception.
Because previously
we've manually triggered grid?.destroy() in onDestroy - it was also breaking
the app.
Without manual
destroy() (or with try/catch) - it is still logged in console as not handled
exception.
So the problem
narrows down to this underscored line - it is called from refreshFilterValue
with '
beforeDataBound'
parameter and seems that is not included in ngBoundedEvents when grid is still
not completly initialized, but destroyed due to the dynamic component build.
Is it a known issue,
or do you know any helpful workaround to get rid of this problem?