UNPKG

@progress/kendo-react-grid

Version:
35 lines (34 loc) 1.02 kB
/// <reference types="react" /> /** * The props of the GridFilterCell component ([more information and examples]({% slug filtering_grid %})). */ export interface GridFilterCellProps { /** * The column field in which the cell is located. */ field?: string; /** * The type of the filter. Determines which editor will be rendered for filtering. */ filterType: 'text' | 'numeric' | 'boolean' | 'date'; /** * The value of the cell. */ value: any; /** * The operator that will be used for the cell filtering. */ operator: string; /** * The method that will be called if the cell needs to inform its parent Grid about a change. */ onChange: (event: { value: any; operator: string | Function; syntheticEvent: React.SyntheticEvent<any>; }) => void; /** * The method for rendering the filter cell. */ render?: (row: React.ReactElement<any>, dataItem: GridFilterCellProps) => React.ReactNode; }