Reported by EventListenerIf.onFilterChanged after column filters changed, the table re-filtered and rendered (so tableApi.getDisplayedRowCount() already equals rowCount).

Example

const listener = new EventAdapter();
listener.onFilterChanged = (evt: GeFilterEvent) => {
console.log(`${evt.rowCount} of ${evt.unfilteredRowCount} rows`, evt.filters);
};

Since

1.1.114

Hierarchy

  • GeFilterEvent

Constructors

  • Parameters

    • filters: ColumnFiltersMap

      Snapshot of all currently active column filters (property → filter).

    • property: undefined | string

      Property of the changed column, or undefined for setColumnFilters, clearColumnFilters and state restore.

    • source: GeFilterEventSource

      What triggered the change.

    • rowCount: number

      Displayed body row count after filtering.

    • unfilteredRowCount: number

      Total body row count before filtering.

    Returns GeFilterEvent

Properties

Snapshot of all currently active column filters (property → filter).

property: undefined | string

Property of the changed column, or undefined for setColumnFilters, clearColumnFilters and state restore.

rowCount: number

Displayed body row count after filtering.

What triggered the change.

unfilteredRowCount: number

Total body row count before filtering.