ods-component-lib 1.17.37 → 1.17.39

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/index.js CHANGED
@@ -1426,8 +1426,16 @@ function grid(props, dataGridRef) {
1426
1426
  }), React__default.createElement(dataGrid.Item, {
1427
1427
  menuItemRender: renderMenuItem
1428
1428
  })), React__default.createElement(dataGrid.Summary, null, React__default.createElement(dataGrid.TotalItem, {
1429
- column: props.keyExpr,
1430
- summaryType: "count"
1429
+ column: "Id",
1430
+ summaryType: "count",
1431
+ displayFormat: "{0} Total Data"
1432
+ }), props.sumaryRowItems && props.sumaryRowItems.map(function (item) {
1433
+ return React__default.createElement(dataGrid.TotalItem, {
1434
+ column: item.columnName,
1435
+ summaryType: item.aggregateFn,
1436
+ valueFormat: item.valueFormat ? item.valueFormat : "",
1437
+ displayFormat: "Total: {0}"
1438
+ });
1431
1439
  })), React__default.createElement(dataGrid.StateStoring, {
1432
1440
  enabled: true,
1433
1441
  type: "localStorage",