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

    Interface GridCellStyleApi

    셀별 스타일 API(1.5.0). 행 키와 컬럼 id로 저장하고, 정렬·필터를 거쳐도 따라간다.

    interface GridCellStyleApi {
        clearCellStyles(
            opts?: { columnIds?: string[]; rowKeys?: RowKey[] },
        ): void;
        getCellStyle(rowKey: RowKey, columnId: string): CellStyleInput | null;
        setCellStyle(
            rowKey: RowKey,
            columnId: string,
            style: CellStyleInput | null,
        ): void;
        setCellStyles(
            entries: {
                columnId: string;
                rowKey: RowKey;
                style: CellStyleInput | null;
            }[],
        ): void;
    }

    Hierarchy (View Summary)

    Index
    • Parameters

      • Optionalopts: { columnIds?: string[]; rowKeys?: RowKey[] }

      Returns void

    • Parameters

      Returns void