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.
package/dist/index.js CHANGED
@@ -1247,15 +1247,14 @@ function grid(props, dataGridRef) {
1247
1247
  var state = JSON.parse(localStorage.getItem(props.exportFileName + "Storage"));
1248
1248
  if (localStorage.getItem(props.exportFileName + "Storage")) {
1249
1249
  state.selectedRowKeys = [];
1250
- state.filterValue = [];
1251
- state.selectionFilter = [];
1250
+ state.filterPanel = {
1251
+ filterEnabled: false
1252
+ };
1252
1253
  }
1253
1254
  return state;
1254
1255
  };
1255
1256
  var customSave = function customSave(state) {
1256
1257
  state.selectedRowKeys = [];
1257
- state.filterValue = [];
1258
- state.selectionFilter = [];
1259
1258
  localStorage.setItem(props.exportFileName + "Storage", JSON.stringify(state));
1260
1259
  };
1261
1260
  React.useEffect(function () {
@@ -1288,10 +1287,7 @@ function grid(props, dataGridRef) {
1288
1287
  noDataText: props.noDataLanguage == undefined ? "No Data" : props.noDataLanguage,
1289
1288
  onEditCanceling: props.onEditCanceling,
1290
1289
  onExporting: onExporting,
1291
- filterSyncEnabled: props.filterSyncEnabled,
1292
- filterValue: props.filterValue,
1293
- defaultFilterValue: props.defaultFilterValue,
1294
- filterBuilder: props.filterBuilder,
1290
+ filterSyncEnabled: true,
1295
1291
  height: window.innerHeight - 164,
1296
1292
  repaintChangesOnly: true,
1297
1293
  remoteOperations: props.remoteOperations !== undefined ? props.remoteOperations : false,