# selectAllServerSide

서버 데이터 전체를 행별로 메모리에 펼치지 않고 전체 선택 조건을 설정합니다.

Canonical: https://grid.syidax.com/ko/docs/methods/selectAllServerSide/

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

## 무엇을 하는 API인가요

서버 데이터 전체를 행별로 메모리에 펼치지 않고 전체 선택 조건을 설정합니다.

Pro 기능 관련 API: Server-Side Row Model

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

## 입력과 결과의 정확한 타입

```typescript
selectAllServerSide(action?: 'select' | 'clear'): Promise<SyGridServerSelectAllResult>
```

| 인수 | 필수 여부 | 타입 |
| --- | --- | --- |
| action | 선택 | 'select' \| 'clear' |

반환 타입은 `Promise<SyGridServerSelectAllResult>`입니다.

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

## 사용 흐름

등록과 초기화를 마친 Grid 요소에서 grid.selectAllServerSide(…)를 호출합니다. 반환값은 await로 읽으세요. boolean이나 보고서를 반환하는 메서드는 결과를 확인한 뒤 다음 작업을 진행합니다.

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

## 관련 타입 읽기

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

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

## 기능별 설명과 예제

- [서버 측 행 모델](https://grid.syidax.com/ko/docs/features/server-side-row-model.md) — 서버가 그룹·피벗을 계산하고 펼친 그룹 경로별로 행을 공급하는 모델입니다. 이미 받은 로컬 행을 groupBy로 묶는 방식과 데이터 책임이 다릅니다.
