• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBox
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

GridRowProps

The props that the Grid passes to the GridRow component when creating it. Accessible during the rowRender callback of the Grid.

NameTypeDefaultDescription

ariaRowIndex?

number

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

children?

React.ReactNode

Determines the children nodes.

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.

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.