API
API
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)๋ฐ‘์ค„.