Skip to main content
Version: 4.13.0

OnRequestAppend

Type: TSInterface

PROPERTYTYPEDESCRIPTION
currentTargetInfiniteGrid

An InfiniteGrid instance that triggered this event.

groupKeystring | number | undefined

Last group key.

nextGroupKeystring | number | undefined

The key of the next group that should replace Virtual Item(placeholder)s.

nextGroupKeysArray<string | number>

Array of the following group keys that need to be replaced with Virtual Item(placeholder)s.

isVirtualboolean

Whether to request virtual groups corresponding to Virtual Item(placeholder)s.

reachEnd() => void

Call this when the end has been reached and there are no more groups (or items) to add. Or set the isReachEnd prop to true.

reachStart() => void

Call this when the start has been reached and there are no more groups (or items) to add. Or set the isReachStart prop to true.

wait() => void

Set to standby to request data.

ready() => void

When the data request is complete, it is set to ready state.