# SyGridServerPivotColumnsReport

Fields, allowed values, and APIs that use SyGridServerPivotColumnsReport.

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

<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 SyGridServerPivotColumnsReport {
  status: 'ok' | 'no-metadata' | 'refused';
  source: 'columns' | 'fields' | 'none';
  stale: boolean;
  columns: ReadonlyArray<SyGridServerPivotColumnDescriptor>;
  leafCount: number;
  groupCount: number;
  coverageChecked: boolean;
  fieldsWithoutColumn: ReadonlyArray<string>;
  leavesWithoutField: ReadonlyArray<string>;
  duplicateIds: ReadonlyArray<string>;
  issue: string;
}
```

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

## APIs using this type

- [getServerPivotResultColumns](https://grid.syidax.com/docs/methods/getServerPivotResultColumns.md) — Reads the server-supplied pivot result column model. Distinguish stale metadata from absent metadata.

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

## Contracts containing this type

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

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

## Related types

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