- No, the store will still exist after the destruction of the Grid
- No, you donβt need to redefine the mesh destruction method
You can force the repository to destroy itself by setting the autoDestroy flag to true API-Link
autoDestroy : Boolean
When the repository is used by only one DataView, it should exist only for the lifetime of this view, then set the autoDestroy flag to true. This leads to the destruction of the idea to launch the destruction of his store.
Defaults to: false
See this working demo for the autoDestroy effect in the storage used by the grid (close the grids in the demo)
Additional Information:
source share