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>

Overrides the default icon component.

The default component is: KendoReactIcon.

id?

string

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

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.

Methods

onClick

Parameters

args

KendoMouseEvent<T>

onDoubleClick

Parameters

args

KendoMouseEvent<T>

onIconClick

A callback, fired whenever the icon is clicked.

Parameters

args

KendoMouseEvent<PivotGridHeaderCellHandle>

onMouseDown

Parameters

args

KendoMouseEvent<T>

onMouseEnter

Parameters

args

KendoMouseEvent<T>

onMouseLeave

Parameters

args

KendoMouseEvent<T>

onMouseMove

Parameters

args

KendoMouseEvent<T>

onMouseOut

Parameters

args

KendoMouseEvent<T>

onMouseOver

Parameters

args

KendoMouseEvent<T>

onMouseUp

Parameters

args

KendoMouseEvent<T>