API
API
Types
PivotCellStyle

PivotCellStyle

NameTypeDescription
align'left' | 'center' | 'right'정렬.
backgroundColorstring (opens in a new tab)배경색.
boldboolean (opens in a new tab)굵게.
colorstring (opens in a new tab)글자색.
icon'arrow-up' | 'arrow-up-right' | 'arrow-right' | 'arrow-down-right' | 'arrow-down' | 'triangle-up' | 'triangle-right' | 'triangle-down' | 'circle-green' | 'circle-yellow' | 'circle-red' | 'circle-gray' | 'flag-green' | 'flag-yellow' | 'flag-red' | 'star-full' | 'star-half' | 'star-empty' | 'bar-4' | 'bar-3' | 'bar-2' | 'bar-1' | 'bar-0' | 'check' | 'warning' | 'cross' | string (opens in a new tab)표시할 아이콘 이름. 빌트인 또는 PivotIconRegistry.registerIcon()으로 등록된 이름. iconSet + iconIndex보다 우선한다.
iconColorstring (opens in a new tab)아이콘 색상. colorable 아이콘에만 의미가 있다. 미지정 시 셀의 텍스트 색상을 따른다.
iconIndexnumber (opens in a new tab)iconSet 내 아이콘 인덱스 (0부터). 음수면 끝에서부터.
iconOnlyboolean (opens in a new tab)true면 아이콘만 표시하고 값 텍스트를 숨긴다.
iconPlacement'auto' | 'start' | 'end' | 'left' | 'right'아이콘 배치. 기본 'auto'.
iconSet'arrows-3' | 'arrows-5' | 'triangles-3' | 'traffic-3' | 'flags-3' | 'stars-3' | 'bars-5' | 'checks-3' | string (opens in a new tab)아이콘 세트 이름. iconIndex와 함께 지정하면 세트의 해당 인덱스 아이콘이 표시된다. icon이 지정된 경우 무시된다.
iconSizenumber (opens in a new tab)아이콘 크기(px). 미지정 시 기본값(14)이 적용된다.
italicboolean (opens in a new tab)기울임.
underlineboolean (opens in a new tab)밑줄.