ods-component-lib 1.17.37 → 1.17.38

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.
@@ -1422,8 +1422,16 @@ function grid(props, dataGridRef) {
1422
1422
  }), React.createElement(Item$1, {
1423
1423
  menuItemRender: renderMenuItem
1424
1424
  })), React.createElement(Summary, null, React.createElement(TotalItem, {
1425
- column: props.keyExpr,
1426
- summaryType: "count"
1425
+ column: "Id",
1426
+ summaryType: "count",
1427
+ displayFormat: "{0} Total Data"
1428
+ }), props.sumaryRowItems && props.sumaryRowItems.map(function (item) {
1429
+ return React.createElement(TotalItem, {
1430
+ column: item.columnName,
1431
+ summaryType: item.aggregateFn,
1432
+ valueFormat: item.valueFormat ? item.valueFormat : "",
1433
+ displayFormat: "Total: {0}"
1434
+ });
1427
1435
  })), React.createElement(StateStoring, {
1428
1436
  enabled: true,
1429
1437
  type: "localStorage",