Grid API function undefined() cannot be called as the grid has been destroyed. Either clear local references to the grid api, when it is destroyed, or check gridApi.isDestroyed() to avoid calling methods against a destroyed grid. To run logic when the grid is about to be destroyed use the gridPreDestroy event. See: undefined
ValidationModule
.The following documentation pages should provide additional context / guidance on how to resolve this error.