Filter item definition interface.

interface GridFilterItem {
    field: string;
    id?: string | number;
    operator: string;
    value?: any;
}

Properties

field: string

The column from which we want to filter the rows.

id?: string | number

Must be unique. Only useful when the model contains several items.

operator: string

The name of the operator we want to apply.

value?: any

The filtering value. The operator filtering function will decide for each row if the row values is correct compared to this value.