맥스그리드 API 레퍼런스
    Preparing search index...

    Interface DataDisplayRow<TRow>

    표시 줄의 종류별 공통 정보.

    interface DataDisplayRow<TRow> {
        aggregates?: Readonly<Record<string, unknown>>;
        expandable: boolean;
        expanded: boolean;
        key: RowKey;
        kind: "data";
        lastPath?: readonly boolean[];
        level: number;
        loadState?: "error" | "loading";
        parentKey: RowKey | null;
        posInSet: number;
        row: TRow;
        setSize: number;
    }

    Type Parameters

    • TRow

    Hierarchy (View Summary)

    Index
    aggregates?: Readonly<Record<string, unknown>>

    트리 부모 행의 하위 집계(집계 컬럼이 있을 때).

    expandable: boolean

    자식이 있어 펼칠 수 있는 줄.

    expanded: boolean
    key: RowKey
    kind: "data"
    lastPath?: readonly boolean[]

    수준 1 이상인 줄에서 루트부터 이 줄까지 각 수준의 노드가 형제 중 마지막인지(lastPath[수준]). 들여쓰기 안내선의 가지(├ └)를 그리는 데 쓴다. 최상위 줄에는 없다.

    level: number

    0부터 센 깊이.

    loadState?: "error" | "loading"

    지연 로딩 상태: 불러오는 중(loading) 또는 마지막 시도가 실패(error). 평소에는 없다.

    parentKey: RowKey | null

    트리에서 부모 행의 키. 최상위·평면은 null.

    posInSet: number
    row: TRow
    setSize: number

    같은 부모 아래 형제 수와 1부터 센 위치(필터로 가려진 형제는 세지 않는다).