ods-component-lib 1.17.78 → 1.17.80

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,8 +1259,6 @@ 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();
1264
1262
  localization.locale(sessionStorage.getItem("locale"));
1265
1263
  localization.loadMessages(JSON.parse(sessionStorage.getItem("localTranslation")));
1266
1264
  }, []);
@@ -1287,9 +1285,11 @@ function grid(props, dataGridRef) {
1287
1285
  columnAutoWidth: false,
1288
1286
  focusedRowEnabled: false,
1289
1287
  wordWrapEnabled: false,
1290
- noDataText: "No Data",
1288
+ noDataText: props.noDataLanguage == undefined ? "No Data" : props.noDataLanguage,
1291
1289
  onEditCanceling: props.onEditCanceling,
1292
1290
  onExporting: onExporting,
1291
+ filterSyncEnabled: false,
1292
+ filterValue: null,
1293
1293
  height: window.innerHeight - 164,
1294
1294
  repaintChangesOnly: true,
1295
1295
  remoteOperations: props.remoteOperations !== undefined ? props.remoteOperations : false,