GridCustomFilterCellProps

The properties of the filter Grid Cell.

NameTypeDefaultDescription

ariaLabel?

string

Accessible label of the filter.

booleanValues

GridFilterOperator[]

The list of values for the Boolean filter.

children?

ReactNode | ReactNode[]

The default children of the table cell.

field?

string

The column field in which the cell is located.

filterType

"boolean" | "text" | "numeric" | "date"

The type of the filter. Determines which editor will be rendered for filtering.

index?

number

The index of the column.

onChange

(event: { operator: string | Function; syntheticEvent: SyntheticEvent<any>; value: any; }) => void

The method that will be called if the cell needs to inform its parent Grid about a change.

operator?

string | Function

The operator that will be used for the cell filtering.

operators

GridFilterOperator[]

The list of the default operators for the current filter type.

render?

(row: ReactElement<any>, dataItem: GridFilterCellProps) => ReactNode

A function for overriding the default rendering of the filter cell.

size?

"null" | "small" | "large" | "medium"

medium

Configures the size of the cell.

The available options are:

  • small
  • medium
  • large
  • null—Does not set a size className.

thProps?

"null" | GridThAttributes

The props and attributes that are applied to the td element by default.

title?

string

The title which will be set to the input element in the filter cell.

value

any

The value of the cell.