ods-component-lib 1.17.86 → 1.17.87

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