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 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} Total Data"
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: "Total: {0}"
1462
+ displayFormat: props.TotalLanguage + " : {0}"
1461
1463
  });
1462
1464
  })), React__default.createElement(dataGrid.StateStoring, {
1463
1465
  enabled: true,