@visactor/vtable 1.22.7-alpha.6 → 1.22.7-alpha.7

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.
@@ -71,6 +71,7 @@ export declare class ListTable extends BaseTable implements ListTableAPI {
71
71
  updateSortState(sortState: SortState[] | SortState | null, executeSort?: boolean): void;
72
72
  updateFilterRules(filterRules: FilterRules, options?: {
73
73
  clearRowHeightCache?: boolean;
74
+ onFilterRecordsEnd?: (records: any[]) => any[];
74
75
  }): void;
75
76
  getFilteredRecords(): any[];
76
77
  getCheckboxState(field?: string | number): any[];
package/cjs/ListTable.js CHANGED
@@ -567,7 +567,7 @@ class ListTable extends core_1.BaseTable {
567
567
  }) {
568
568
  var _a;
569
569
  this.scenegraph.clearCells(), this.sortState ? (this.dataSource.updateFilterRulesForSorted(filterRules),
570
- (0, record_helper_1.sortRecords)(this)) : this.dataSource.updateFilterRules(filterRules),
570
+ (0, record_helper_1.sortRecords)(this)) : this.dataSource.updateFilterRules(filterRules, null == options ? void 0 : options.onFilterRecordsEnd),
571
571
  this.refreshRowColCount(), this.stateManager.initCheckedState(this.records), this.scenegraph.createSceneGraph(!(null == options ? void 0 : options.clearRowHeightCache)),
572
572
  null === (_a = this.internalProps.emptyTip) || void 0 === _a || _a.resetVisible(),
573
573
  this.resize();