mates-grid docs

mates-grid

Filtering

Filter type is inferred from data (text, number, date, boolean) or pinned with ColDef.filter. Floating filters, the column menu, the side bar, and setColumnFilter all write the same filterModel.

Floating filters and an external search

Type in the toolbar to filter names. Columns AND together; a single column can OR multiple conditions.

1 to 12 of 48

rows 48

grid.setColumnFilter("name", {
  filterType: "text",
  type: "contains",
  filter: "ada",
});
grid.clearFilters();