cx 23.9.0 → 23.9.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.
package/dist/widgets.js CHANGED
@@ -15503,6 +15503,7 @@ var Grid = /*#__PURE__*/ (function (_Container) {
15503
15503
  row.hasSortableColumns = false;
15504
15504
  row.hasResizableColumns = false;
15505
15505
  var aggregates = {};
15506
+ var showFooter = false;
15506
15507
  var lines = [];
15507
15508
  for (var i = 0; i < 10; i++) {
15508
15509
  var l = row["line" + i];
@@ -15546,12 +15547,14 @@ var Grid = /*#__PURE__*/ (function (_Container) {
15546
15547
  },
15547
15548
  type: c.aggregate,
15548
15549
  };
15550
+ } else if (c.footer && !showFooter) {
15551
+ showFooter = true;
15549
15552
  }
15550
15553
  });
15551
15554
  });
15552
15555
 
15553
15556
  //add default footer if some columns have aggregates and grouping is not defined
15554
- if (!groupingData && (Object.keys(aggregates).length > 0 || this.fixedFooter))
15557
+ if (!groupingData && (Object.keys(aggregates).length > 0 || this.fixedFooter || showFooter))
15555
15558
  groupingData = [
15556
15559
  {
15557
15560
  key: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cx",
3
- "version": "23.9.0",
3
+ "version": "23.9.1",
4
4
  "description": "Advanced JavaScript UI framework for admin and dashboard applications with ready to use grid, form and chart components.",
5
5
  "main": "index.js",
6
6
  "jsnext:main": "src/index.js",