Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ngrid): do not auto-clear context on source changing
BREAKING CHANGE Until now, everytime the `onSourceChanging` event was fired, the context cache was automatically cleared. This event is fired when `refresh()` is called and automatically clearing the context is bad, if the user wants to clear the cache he should do it by calling `grid.contextApi.clear()`. The cache will still auto clear when the datasource is changed and when render data is changing without a primary key To revert back to the old behavior you can set `clearContextOnSourceChanging` to true on the global configuration value for table.
- Loading branch information