New to KendoReactLearn about KendoReact Free.

CellProps

NameTypeDefaultDescription

ariaColumnIndex

number

The index to be applied to the aria-colindex attribute.

className?

string

The custom CSS classes of the cells.

colSpan?

number

The column span of the cell.

dataItem

any

The data item which corresponds to the current row.

expanded?

boolean

The expanded value of the cell.

field?

string

The field to which the cell is bound.

format?

string

The format that is applied to the value before the value is displayed. Takes the {0:format} form where format is a standard number format, a custom number format, a standard date format, or a custom date format. For more information on the supported date and number formats, refer to the kendo-intl documentation.

isAlt?

boolean

Indicates if the cell is alt.

isSelected

boolean

Indicates if the cell is selected.

isSorted?

boolean

Indicates if the cell is sorted.

onChange?

(event: { dataItem: any; field?: string; syntheticEvent: SyntheticEvent<any>; value?: any; }) => void

The event that is fired when the cell value is changed.

render?

(defaultRendering: "null" | ReactElement<HTMLTableCellElement>, props: CellProps) => "null" | ReactElement<HTMLTableCellElement>

A function for overriding the default rendering of the cell.

selectionChange?

(event: { syntheticEvent: SyntheticEvent<any>; }) => void

The event that is fired when the cell is selected.

style?

React.CSSProperties

The styles for the cell.

Not finding the help you need?
Contact Support