ods-component-lib 1.17.86 → 1.17.88

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.
@@ -1243,15 +1243,14 @@ function grid(props, dataGridRef) {
1243
1243
  var state = JSON.parse(localStorage.getItem(props.exportFileName + "Storage"));
1244
1244
  if (localStorage.getItem(props.exportFileName + "Storage")) {
1245
1245
  state.selectedRowKeys = [];
1246
- state.filterValue = [];
1247
- state.selectionFilter = [];
1246
+ state.filterPanel = {
1247
+ filterEnabled: false
1248
+ };
1248
1249
  }
1249
1250
  return state;
1250
1251
  };
1251
1252
  var customSave = function customSave(state) {
1252
1253
  state.selectedRowKeys = [];
1253
- state.filterValue = [];
1254
- state.selectionFilter = [];
1255
1254
  localStorage.setItem(props.exportFileName + "Storage", JSON.stringify(state));
1256
1255
  };
1257
1256
  useEffect(function () {
@@ -1284,10 +1283,7 @@ function grid(props, dataGridRef) {
1284
1283
  noDataText: props.noDataLanguage == undefined ? "No Data" : props.noDataLanguage,
1285
1284
  onEditCanceling: props.onEditCanceling,
1286
1285
  onExporting: onExporting,
1287
- filterSyncEnabled: props.filterSyncEnabled,
1288
- filterValue: props.filterValue,
1289
- defaultFilterValue: props.defaultFilterValue,
1290
- filterBuilder: props.filterBuilder,
1286
+ filterSyncEnabled: true,
1291
1287
  height: window.innerHeight - 164,
1292
1288
  repaintChangesOnly: true,
1293
1289
  remoteOperations: props.remoteOperations !== undefined ? props.remoteOperations : false,