PivotGridHeaderCellProps

Represents the props of the KendoReact PivotGridHeaderCell component.

NameTypeDefaultDescription

children?

React.ReactNode

Sets the children property of the top-most element of the PivotGridHeaderCell.

className?

string

Sets the className property of the top-most element of the PivotGridHeaderCell in addition to the default k-pivotgrid-cell class.

colSpan?

number

Represents the calculated colSpan property of the cell.

columnPath?

string[]

Represents the columns path leading to the current cell.

dataItem

AxisDataItem

Represents the dataItem of the PivotGridHeaderCell.

The dataItem is a single AxisDataItem object.

expandable?

boolean

Indicates if the current cell can be expanded.

expanded?

boolean

Indicates if the current cell is expanded.

icon?

CustomComponent<IconProps intersected with SvgIconProps>

Overrides the default icon component.

The default component is: KendoReactIcon.

id?

string

Sets the id property of the top-most element of the PivotGridHeaderCell.

onClick?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

onDoubleClick?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

onIconClick?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

A callback, fired whenever the icon is clicked.

onMouseDown?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

onMouseEnter?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

onMouseLeave?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

onMouseMove?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

onMouseOut?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

onMouseOver?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

onMouseUp?

(args: KendoMouseEvent<PivotGridHeaderCellHandle>) => void

role?

string

Sets the role property of the top-most element of the PivotGridHeaderCell.

root?

boolean

Indicates if the current cell represents the first level of a hierarchy.

rowPath?

string[]

Represents the row path leading to the current cell.

rowSpan?

number

Represents the calculated rowSpan property of the cell.

style?

React.CSSProperties

Sets the style property of the top-most element of the PivotGridHeaderCell.

tabIndex?

number

Sets the tabIndex property of the top-most element of the PivotGridHeaderCell.

total?

boolean

Indicates if the current cell represents a total value.