ColumnSummaryStyleObject

CellStyleCallback 으로 셀 스타일 변경 시 반환해야하는 스타일 모델 중 하나

상세 설명

예제 코드

// 푸터 적용
const f = function (grid, cell) {
     return {
         styleName: 'custom-footer'
     }
}
footer.cellStyleCallback = f;

const f2 = function (grid, cell) {
     return {
         styleName: 'custom-summary'
     }
}

headerSummary.cellStyleCallback = f2;

프로퍼티 정보

booleanFormat


booleanFormat: string

Boolean 형식의 값일 때 서식

상세 설명

이 값이 지정되면 boolean 필드의 값을 출력할 때 변환 형식으로 사용된다.

지정되지 않은 경우 데이터필드에 설정된 값을 사용한다.

콜론(:) 또는 세미콜론(;)으로 구분하여 왼쪽은 false일 때, 오른쪽은 true일 때

예) 'Nub: Yub'

datetimeFormat


datetimeFormat: string

날짜 형식의 값일 때 서식

exportStyleName


exportStyleName: string

excel로 export할때 적용될 스타일 명

numberFormat


numberFormat: string

숫자 형식의 값일 때 서식

prefix


prefix: string

값의 앞쪽에 덧붙여 표시할 텍스트

styleName


styleName: string

스타일 명

suffix


suffix: string

값의 뒤쪽에 덧붙여 표시할 텍스트

textFormat


textFormat: string

텍스트 형식의 값일 때 서식