# chunkLoading

Emitted when feature code starts loading. Separate from row data query events.

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

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

## What does this API do?

Emitted when feature code starts loading. Separate from row data query events.

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

## Exact input and result types

```typescript
chunkLoading: GridChunkLoadEventDetail
```

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

## Usage flow

Subscribe with grid.addEventListener('chunkLoading', 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('chunkLoading', event => {
  console.log(event.detail);
}, { signal: controller.signal });
// On view disposal: controller.abort();
```

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

## Read related types

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

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

## Feature explanations and examples

- [Settings and data fundamentals](https://grid.syidax.com/docs/guides/concepts.md)
- [API calls and event integration](https://grid.syidax.com/docs/guides/data-event-access.md)
