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