API REFERENCE
setColumnFilterModel
Sets one column's filter model and returns the result. Separate from setFilterModel, which changes combined filter state.
What does this API do?
Sets one column's filter model and returns the result. Separate from setFilterModel, which changes combined filter state.
Exact input and result types
setColumnFilterModel<TModel = unknown>(columnId: string, model: TModel | null): Promise<boolean>| Arguments | Required | Type |
|---|---|---|
| columnId | Required | string |
| model | Required | TModel | null |
The return type is Promise<boolean>.
Usage flow
After registering and initializing the Grid element, call grid.setColumnFilterModel(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.
Feature explanations and examples
- Conditions for each column
Column filters apply conditions to individual columns. Text, numbers, and dates use different inputs and comparisons; conditions across columns narrow results together.