Skip to main content

filterChange

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

filterChange: (value: string, colId: string | number, filterId: "inputFilter" | "selectFilter" | "comboFilter") => 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, filter) => {
console.log("You've entered "+value+" into the "+colId+" column");
});

Change log:

added in v6.3