ods-component-lib 1.17.36 → 1.17.37
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 +2 -10
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -10
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1426,16 +1426,8 @@ 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:
|
|
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
|
-
});
|
|
1429
|
+
column: props.keyExpr,
|
|
1430
|
+
summaryType: "count"
|
|
1439
1431
|
})), React__default.createElement(dataGrid.StateStoring, {
|
|
1440
1432
|
enabled: true,
|
|
1441
1433
|
type: "localStorage",
|