ods-component-lib 1.17.76 → 1.17.78
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 +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1259,6 +1259,8 @@ function grid(props, dataGridRef) {
|
|
|
1259
1259
|
localStorage.setItem(props.exportFileName + "Storage", JSON.stringify(state));
|
|
1260
1260
|
};
|
|
1261
1261
|
React.useEffect(function () {
|
|
1262
|
+
dataGridRef._instance.clearFilter();
|
|
1263
|
+
dataGridRef._instance.clearSorting();
|
|
1262
1264
|
localization.locale(sessionStorage.getItem("locale"));
|
|
1263
1265
|
localization.loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1264
1266
|
}, []);
|
|
@@ -1451,13 +1453,13 @@ function grid(props, dataGridRef) {
|
|
|
1451
1453
|
})), React__default.createElement(dataGrid.Summary, null, React__default.createElement(dataGrid.TotalItem, {
|
|
1452
1454
|
column: "Id",
|
|
1453
1455
|
summaryType: "count",
|
|
1454
|
-
displayFormat: "{0}
|
|
1456
|
+
displayFormat: "{0} " + props.TotaDatalLanguage
|
|
1455
1457
|
}), props.sumaryRowItems && props.sumaryRowItems.map(function (item) {
|
|
1456
1458
|
return React__default.createElement(dataGrid.TotalItem, {
|
|
1457
1459
|
column: item.columnName,
|
|
1458
1460
|
summaryType: item.aggregateFn,
|
|
1459
1461
|
valueFormat: item.valueFormat ? item.valueFormat : "",
|
|
1460
|
-
displayFormat: "
|
|
1462
|
+
displayFormat: props.TotalLanguage + " : {0}"
|
|
1461
1463
|
});
|
|
1462
1464
|
})), React__default.createElement(dataGrid.StateStoring, {
|
|
1463
1465
|
enabled: true,
|