New to KendoReactStart a free 30-day trial

GanttRowProps

Interface

The props that the Gantt passes to the GanttRow component when creating it.

Definition

Package:@progress/kendo-react-gantt

Properties

The index of the item on current level, applied to the aria-posinset attribute.

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

The count of items on current level, applied to the aria-setsize attribute.

The data object that represents the current row.

expanded

boolean

The expanded state of the row. Useful for applying aria-expanded accessibility attribute.

isSelected

boolean

Indicates if the row is selected.

level

number[]

An array of indexes of each parent and current item in the data tree.

The event that is fired when the row is clicked.

The event that is fired when the row context menu is triggered.

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

onDrag?

(event: { nativeEvent: any; dragged: number[]; draggedOver: null | number[]; draggedItem: any }) => void

Fires when a row is dragged.

Parameters:event{ nativeEvent: any; dragged: number[]; draggedOver: null | number[]; draggedItem: any }

onDrop?

(event: { nativeEvent: any; dragged: number[]; draggedOver: null | number[]; draggedItem: any }) => void

Fires when a row is dragged and dropped.

Parameters:event{ nativeEvent: any; dragged: number[]; draggedOver: null | number[]; draggedItem: any }

A function for overriding the default rendering of the row.

Parameters:rowReactElement​<HTMLTableRowElement, string | JSXElementConstructor​<any>>propsGanttRowPropsReturns:

ReactNode

Sets the height of the row.

rowIndex

number

The index of the row. Useful for applying aria-rowindex accessibility attribute.

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