New to KendoReactLearn about KendoReact Free.

GridCustomRowProps

The properties of the default Grid Row.

NameTypeDefaultDescription

ariaRowIndex?

number

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

children?

ReactNode | ReactNode[]

The default children of the table row.

className?

string

Sets additional classes to the component.

dataIndex

number

The index of the leaf dataItem in data. Used by selection.

dataItem

any

The data object that represents the current row.

id?

string

Sets the id property of the top div element of the component.

isAltRow

boolean

Indicates whether the row is an alternating row.

isHidden

boolean

Indicates if the row is hidden. The hidden row is rendered above the visible area of the Grid. Occurs when the Grid uses virtualization and the row is on the current page. When rowHeight is set, isHidden is always true.

isInEdit

boolean

Indicates whether the row has at least one edit cell.

isSelected

boolean

Indicates if the row is selected.

onClick

any

The event that is fired when the row is clicked.

onDoubleClick

any

The event that is fired when the row is double clicked.

render?

(row: ReactElement<HTMLTableRowElement>, props: GridRowProps) => ReactNode

A function for overriding the default rendering of the row.

rowHeight?

number

Sets the height of the row.

rows?

GridRowsSettings

Sets a set of rows components that the Grid will render instead of the built-in row.

rowType

GridRowType

The type of the row.

selectedField?

string

The name of the field which will provide a Boolean representation of the selected state of the item.

style?

React.CSSProperties

Sets additional CSS styles to the component.

trProps?

"null" | HTMLAttributes<HTMLTableRowElement>

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

Not finding the help you need?
Contact Support