API REFERENCE

getDisplayRowInfo

Reads the displayed row kind, such as data, group, or detail.

What does this API do?

Reads the displayed row kind, such as data, group, or detail.

API for Pro features: Row grouping, built-in aggregation and group totals

Exact input and result types

typescript
getDisplayRowInfo(index: number): Promise<SyGridDisplayRowInfo | null>
ArgumentsRequiredType
indexRequirednumber

The return type is Promise<SyGridDisplayRowInfo | null>.

Usage flow

After registering and initializing the Grid element, call grid.getDisplayRowInfo(…). Read the return value with await. For methods returning a boolean or report, inspect the result before continuing.

Read related types

Feature explanations and examples