API REFERENCE

cellStyle

셀에 적용할 인라인 스타일 객체·콜백 또는 이들의 배열입니다.

무엇을 하는 API인가요

셀에 적용할 인라인 스타일 객체·콜백 또는 이들의 배열입니다.

입력과 결과의 정확한 타입

typescript
cellStyle?: | Record<string, string | number>
    | GridCallback<
        [CellCallbackParams<TData, TValue, TContext>],
        Record<string, string | number> | null | undefined
      >
    | ReadonlyArray<
        | Record<string, string | number>
        | GridCallback<
            [CellCallbackParams<TData, TValue, TContext>],
            Record<string, string | number> | null | undefined
          >
      >
항목값
필수 여부선택
입력 타입| Record<string, string | number> | GridCallback< [CellCallbackParams<TData, TValue, TContext>], Record<string, string | number> | null | undefined > | ReadonlyArray< | Record<string, string | number> | GridCallback< [CellCallbackParams<TData, TValue, TContext>], Record<string, string | number> | null | undefined > >

사용 흐름

이 항목은 columnDefs 배열 안의 개별 열 객체에 설정합니다. 배열·객체·콜백 함수는 JavaScript로 전달하고, 변경을 반영할 때 새 배열이나 객체를 사용하세요.

관련 타입 읽기

기능별 설명과 예제