Skip to main content

filterChange

fires on typing text in an input of a column's header

filterChange: (value: string, colId: string | number, filterId: string) => void;

Parameters:

The callback of the event is called with the following parameters:

  • value: string - an entered value
  • colId: string | number - the id of a column
  • filterId: string - the type of a filter: "inputFilter" | "selectFilter" | "comboFilter"

Example

grid.events.on("filterChange", (value, colId, filterId) => {
console.log("You've entered "+value+" into the "+colId+" column");
});
info

The filterChange event invokes the beforeFilter event

Change log:

added in v6.3