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

    Interface ValidateRowsOptions<TRow>

    validateRows 옵션.

    interface ValidateRowsOptions<TRow> {
        changedOnly?: boolean;
        check?: (
            row: TRow,
            key: RowKey,
        ) => CellError | CellError[] | null | undefined;
        columnIds?: string[];
        keys?: RowKey[];
    }

    Type Parameters

    • TRow
    Index
    changedOnly?: boolean

    true면 추가·수정된 행만.

    check?: (row: TRow, key: RowKey) => CellError | CellError[] | null | undefined

    행 단위 추가 검증. 돌려준 오류가 결과에 덧붙는다(예외는 callback-error, 그 행은 건너뜀).

    columnIds?: string[]
    keys?: RowKey[]