ods-component-lib 1.17.77 → 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.modern.js
CHANGED
|
@@ -1255,6 +1255,8 @@ function grid(props, dataGridRef) {
|
|
|
1255
1255
|
localStorage.setItem(props.exportFileName + "Storage", JSON.stringify(state));
|
|
1256
1256
|
};
|
|
1257
1257
|
useEffect(function () {
|
|
1258
|
+
dataGridRef._instance.clearFilter();
|
|
1259
|
+
dataGridRef._instance.clearSorting();
|
|
1258
1260
|
locale(sessionStorage.getItem("locale"));
|
|
1259
1261
|
loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
|
|
1260
1262
|
}, []);
|
|
@@ -1447,13 +1449,13 @@ function grid(props, dataGridRef) {
|
|
|
1447
1449
|
})), React.createElement(Summary, null, React.createElement(TotalItem, {
|
|
1448
1450
|
column: "Id",
|
|
1449
1451
|
summaryType: "count",
|
|
1450
|
-
displayFormat: "{0}
|
|
1452
|
+
displayFormat: "{0} " + props.TotaDatalLanguage
|
|
1451
1453
|
}), props.sumaryRowItems && props.sumaryRowItems.map(function (item) {
|
|
1452
1454
|
return React.createElement(TotalItem, {
|
|
1453
1455
|
column: item.columnName,
|
|
1454
1456
|
summaryType: item.aggregateFn,
|
|
1455
1457
|
valueFormat: item.valueFormat ? item.valueFormat : "",
|
|
1456
|
-
displayFormat: "
|
|
1458
|
+
displayFormat: props.TotalLanguage + " : {0}"
|
|
1457
1459
|
});
|
|
1458
1460
|
})), React.createElement(StateStoring, {
|
|
1459
1461
|
enabled: true,
|