# serverSideDatasource

Data provider for a row model where the server handles sorting, filtering, grouping, and related requests.

Canonical: https://grid.syidax.com/docs/options/serverSideDatasource/

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

## What does this API do?

Data provider for a row model where the server handles sorting, filtering, grouping, and related requests.

API for Pro features: Server-Side Row Model

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

## Exact input and result types

```typescript
serverSideDatasource: ServerSideDatasource<GridRow>
```

| Item | Value |
| --- | --- |
| JavaScript name | serverSideDatasource |
| HTML attribute | server-side-datasource |
| Default | undefined |
| Input type | ServerSideDatasource<GridRow> |

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

## Usage flow

Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

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

## Read related types

- [ServerSideDatasource](https://grid.syidax.com/docs/types/ServerSideDatasource.md)
- [GridRow](https://grid.syidax.com/docs/types/GridRow.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.
