@cdmx/wappler_ag_grid 1.8.0 → 1.8.1

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 -4
  2. package/package.json +1 -1
package/dmx-ag-grid.js CHANGED
@@ -1494,11 +1494,10 @@ dmx.Component('ag-grid', {
1494
1494
  columnHoverHighlight: this.props.column_hover_highlight,
1495
1495
  onFilterModified: function (params) {
1496
1496
  const columnApi = params.api;
1497
- columnApi.hideOverlay();
1498
- if (!params.api.filterManager.rowModel.rowsToDisplay.length) {
1499
- columnApi.showNoRowsOverlay();
1500
- } else {
1497
+ if (columnApi.getDisplayedRowCount() > 0) {
1501
1498
  columnApi.hideOverlay();
1499
+ } else {
1500
+ columnApi.showNoRowsOverlay();
1502
1501
  }
1503
1502
  },
1504
1503
  onGridReady: (params) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cdmx/wappler_ag_grid",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "type": "module",
5
5
  "description": "App Connect module for AG Grid Table Generation.",
6
6
  "license": "MIT",