# PivotResult

> _Since v0.1.1_

Computed result of the pivot transformation.

Produced internally by the pivot engine after processing source rows
through the configured `rowGroupFields`, `columnGroupFields`, and `valueFields`.

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `rows` | <code><a href="/grid/plugins/pivot/interfaces/pivotrow/">PivotRow</a>[]</code> | Hierarchical pivot rows (group headers + leaf rows). |
| `columnKeys` | <code>string[]</code> | Unique column keys derived from `columnGroupFields` values. |
| `totals` | <code>Record&lt;string, number&gt;</code> | Per-column totals (keyed by column key). Present when `showTotals` is enabled. |
| `grandTotal` | <code>number</code> | Grand total across all columns. Present when `showGrandTotal` is enabled. |
