# SyGridPivotColumnsChangedDetail

Fields, allowed values, and APIs that use SyGridPivotColumnsChangedDetail.

Canonical: https://grid.syidax.com/docs/types/SyGridPivotColumnsChangedDetail/

<a id="definition"></a>

## Type definition

A question mark (?) marks an optional field; readonly marks a value you should not change directly. A union (|) accepts one of the listed forms. Functions are callbacks that Grid invokes at the relevant point.

```typescript
export interface SyGridPivotColumnsChangedDetail {
  retained: string[];
  added: string[];
  removed: string[];
  moved: SyGridPivotColumnMove[];
  axesChanged: boolean;
  columnCount: number;
}
```

<a id="used-by"></a>

## APIs using this type

- [pivotColumnsChanged](https://grid.syidax.com/docs/events/pivotColumnsChanged.md) — Emitted when the pivot result column model changes. Update chart and export code using previous result column IDs.

<a id="parents"></a>

## Contracts containing this type

- [SyGridEventMap](https://grid.syidax.com/docs/types/SyGridEventMap.md)

<a id="related"></a>

## Related types

- [SyGridPivotColumnMove](https://grid.syidax.com/docs/types/SyGridPivotColumnMove.md)
