# lazyGroupsToAppend (@salmonui/data-grid/engine/infinite)

> The lazyGroupsToAppend function of @salmonui/data-grid/engine/infinite: Group row ids (g: ids) whose next chunk should load for the rendered rows [start, end) of view: expanded lazy groups with hasMore, not loading and not failed, whose loaded content ends within threshold rows past the window. Empty unless the base view is a lazy group view.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine-infinite/lazyGroupsToAppend

```ts
import { lazyGroupsToAppend } from '@salmonui/data-grid/engine/infinite';
```

Entry index: https://salmonui.dev/docs/reference/data-grid/engine-infinite (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine-infinite.md).

## Reference

Kind: function

```ts
function lazyGroupsToAppend(view: RowModelView | null | undefined, start: number, end: number, threshold?: number): RowId[];
```

Group row ids (`__g:` ids) whose next chunk should load for the rendered
rows `[start, end)` of `view`: expanded lazy groups with `hasMore`, not
loading and not failed, whose loaded content ends within `threshold` rows
past the window. Empty unless the base view is a lazy group view.
