New to KendoReactLearn about KendoReact Free.

CellProps

NameTypeDefaultDescription

ariaColumnIndex

number

The index applied to the aria-colindex attribute.

className?

string

Custom CSS classes for the cell.

colSpan?

number

The column span of the cell.

dataItem

any

The data item for the current row.

expanded?

boolean

Indicates if the cell is expanded.

field?

string

The data field that the cell binds to.

format?

string

The format applied to the value before display. 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.

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

Fires when the cell value changes.

render?

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

Overrides the default cell rendering.

selectionChange?

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

Fires when the cell is selected.

style?

React.CSSProperties

Inline styles for the cell.

Not finding the help you need?
Contact Support