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