# PivotRow

> _Since v0.1.1_

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| <span id="rowkey"></span>`rowKey` | <code>string</code> | Unique key for this row (hierarchical path) |
| <span id="rowlabel"></span>`rowLabel` | <code>string</code> | Display label for this row |
| <span id="depth"></span>`depth` | <code>number</code> | Depth level (0 = top level) |
| <span id="values"></span>`values` | <code>Record&lt;string, number &#124; unknown&gt;</code> | Aggregated values by column key |
| <span id="total"></span>`total?` | <code>number</code> | Row total across all columns |
| <span id="isgroup"></span>`isGroup` | <code>boolean</code> | Whether this row has sub-groups (i.e. `remainingFields.length > 0` in the engine). NOTE: With a single `rowGroupFields`, grouped rows have `isGroup: false` because there are no further levels to expand. Use multi-level grouping when testing group-related logic like `getAllGroupKeys()`. |
| <span id="children"></span>`children?` | <code><a href="/grid/plugins/pivot/interfaces/pivotrow/">PivotRow</a>[]</code> | Child rows (for hierarchical grouping) |
| <span id="rowcount"></span>`rowCount?` | <code>number</code> | Number of data rows in this group |
