@cdmx/wappler_ag_grid 2.0.19 → 2.0.20

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/dmx-ag-grid.js +3 -3
  2. package/package.json +1 -1
package/dmx-ag-grid.js CHANGED
@@ -2704,15 +2704,15 @@ dmx.Component('ag-grid', {
2704
2704
  } else {
2705
2705
  this.set('count', 0);
2706
2706
  }
2707
- if (!dmx.equal(this.props.data, oldValue?.data) && !this.props.noload) {
2707
+ if (props === 'data' && !dmx.equal(this.props.data, oldValue) && !this.props.noload) {
2708
2708
  let gridInstance = this.refreshGrid();
2709
2709
  this.set('gridInstance', gridInstance);
2710
2710
  }
2711
- if (!dmx.equal(this.props.dark_mode, oldValue?.dark_mode)) {
2711
+ if (props === 'dark_mode' && !dmx.equal(this.props.dark_mode, oldValue)) {
2712
2712
  let gridInstance = this.refreshGrid();
2713
2713
  this.set('gridInstance', gridInstance);
2714
2714
  }
2715
- if (!dmx.equal(this.props.cfilters, oldValue?.cfilters)){
2715
+ if (props === 'cfilters' && !dmx.equal(this.props.cfilters, oldValue)){
2716
2716
  let gridInstance = this.get('gridInstance');
2717
2717
  if (gridInstance && this.props.cfilters && this.props.cfilters.length > 0) {
2718
2718
  var filterModel = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "2.0.19",
3
+ "version": "2.0.20",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid v34 - Advanced data grid with enhanced editing, filtering, and tree data capabilities.",
6
6
  "license": "MIT",