@omnigrid/selection-plugin 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -253,7 +253,7 @@ export class SelectionPlugin {
253
253
  refresh() {
254
254
  if (!this.api || this.api.isDestroyed())
255
255
  return;
256
- this.api.setData(this.api.getState().data);
256
+ this.api.refresh();
257
257
  this.onSelectionChange?.(this.getSelectionState());
258
258
  }
259
259
  validateSelection() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnigrid/selection-plugin",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Headless row selection plugin for OmniGrid",
5
5
  "keywords": [
6
6
  "omnigrid",