headerInput

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

void headerInput(string|number value,string|number colId,string filter){ ... };

Deprecated

instead of it, you can use the filterChange event:

grid.events.on("FilterChange", function(value,colId,filter){
    console.log("You've entered "+value+" into the "+colId+" column");
});

Parameters

valuestring|numberan entered value
colIdstring|numberthe id of a column
filterstringthe type of a filter: "inputFilter" or "selectFilter"

Example

grid.events.on("HeaderInput", function(value,colId,filter){
    console.log("You've entered "+value+" into the "+colId+" column");
});

Back to top