--- title: PivotGridHeaderCellProps description: "Learn how to build custom functionality when working with the React PivotGrid by Kendo UI with the help of the PivotGridHeaderCellProps." api_reference: true type: inner_api slug: api_pivotgrid_pivotgridheadercellprops --- # PivotGridHeaderCellProps Represents the props of the [KendoReact PivotGridHeaderCell component](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/pivotgridheadercell).
| Name | Type | Default | Description |
|---|---|---|---|
| #### 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]({% slug api_pivotgrid_axisdataitem %})
|
Represents the `dataItem` of the PivotGridHeaderCell. The `dataItem` is a single [AxisDataItem](https://www.telerik.com/kendo-react-ui/components/pivotgrid/api/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](https://www.typescriptlang.org/docs/handbook/advanced-types.html#intersection-types) with SvgIconProps>
|
Overrides the default `icon` component. The default component is: [KendoReactIcon](https://www.telerik.com/kendo-react-ui/components/common/api/icon). | |
| #### id? |
string
|
Sets the `id` property of the top-most element of the PivotGridHeaderCell. | |
| #### onClick? |
(args: any) => void
|
Fires when the user clicks the PivotGridHeaderCell. | |
| #### onDoubleClick? |
(args: any) => void
|
Fires when the user double-clicks the PivotGridHeaderCell. | |
| #### onIconClick? |
(args: KendoMouseEvent<[PivotGridHeaderCellHandle]({% slug api_pivotgrid_pivotgridheadercellhandle %})>) => void
|
A callback, fired whenever the `icon` is clicked. | |
| #### onMouseDown? |
(args: any) => void
|
Fires when the user presses a mouse button while the cursor is over the PivotGridHeaderCell. | |
| #### onMouseEnter? |
(args: any) => void
|
Fires when the cursor enters the PivotGridHeaderCell area. | |
| #### onMouseLeave? |
(args: any) => void
|
Fires when the cursor leaves the PivotGridHeaderCell area. | |
| #### onMouseMove? |
(args: any) => void
|
Fires when the cursor moves within the PivotGridHeaderCell area. | |
| #### onMouseOut? |
(args: any) => void
|
Fires when the cursor moves outside the PivotGridHeaderCell area. | |
| #### onMouseOver? |
(args: any) => void
|
Fires when the cursor moves over the PivotGridHeaderCell area. | |
| #### onMouseUp? |
(args: any) => void
|
Fires when the user releases a mouse button while the cursor is over 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. |