View as Markdown

API reference: @salmonui/data-grid/engine/infinite

lazyGroupsToAppendfunction

import { lazyGroupsToAppend } from '@salmonui/data-grid/engine/infinite';
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.