# serverStoreUpdated

Emitted when a server row store refreshes. Inspect its path and cache state.

Canonical: https://grid.syidax.com/docs/events/serverStoreUpdated/

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

## What does this API do?

Emitted when a server row store refreshes. Inspect its path and cache state.

API for Pro features: Server-Side Row Model

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

## Exact input and result types

```typescript
serverStoreUpdated: SyGridServerStoreUpdatedDetail
```

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

## Usage flow

Subscribe with grid.addEventListener('serverStoreUpdated', handler). The result is in event.detail, and event names are case-sensitive. Remove subscriptions when disposing of the view.

```javascript
const controller = new AbortController();
grid.addEventListener('serverStoreUpdated', event => {
  console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();
```

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

## Read related types

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