# getServerPivotResultColumns

Reads the server-supplied pivot result column model. Distinguish stale metadata from absent metadata.

Canonical: https://grid.syidax.com/docs/methods/getServerPivotResultColumns/

<a id="meaning"></a>

## What does this API do?

Reads the server-supplied pivot result column model. Distinguish stale metadata from absent metadata.

API for Pro features: Server-Side Row Model

<a id="contract"></a>

## Exact input and result types

```typescript
getServerPivotResultColumns(): Promise<SyGridServerPivotColumnsReport | null>
```

| Arguments | Required | Type |
| --- | --- | --- |

The return type is `Promise<SyGridServerPivotColumnsReport | null>`.

<a id="usage"></a>

## Usage flow

After registering and initializing the Grid element, call grid.getServerPivotResultColumns(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

<a id="types"></a>

## Read related types

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

<a id="recipes"></a>

## Feature explanations and examples

- [Server-side row model](https://grid.syidax.com/docs/features/server-side-row-model.md) — In this model, the server calculates grouping and pivots and supplies rows for each expanded group path. Its data responsibilities differ from grouping already loaded local rows with groupBy.
