Skip to main content


returns an object with a set of methods for the header filter of the specified column

getHeaderFilter(colId: string | number): object;


  • colId: string | number - the id of a column


An object with a set of methods which let you work with the header filter of the specified column. The methods are:

  • blur() - removes focus from the filter
  • clear() - clears the value set in the filter
  • focus() - sets focus on the filter
  • getFilter() - returns either an HTML object or an object with Combobox configuration
  • setValue() - sets a value by which a column will be filtered


const countryFilter = grid.getHeaderFilter("country");

Change log:

  • The returned value was changed in v8.0. Check the Migration article
  • The method was added in v7.0

Related sample: Grid. Get header filter

Related article: Getting header filter