CellLayoutHeader
셀 레이아웃 헤더의 설정 정보 모델
Signature:
export interface CellLayoutHeader Remarks
string 으로 부여시 text 에 설정된다.
boolean 으로 부여시 visible 에 설정된다.
따로 text 가 설정되지 않은 경우 컬럼 명이 텍스트로 지정된다.
Example
{
text: 'group1',
visible: true
}Properties
| Property | Type | Description |
|---|---|---|
| exportStyleName | string | excel로 export시 적용될 스타일 클래스 명 |
| rows | number | header 셀의 row count |
| showTooltip | boolean | 툴팁 표시 여부 |
| styleName | string | 레이아웃 설정 시 적용될 스타일 클래스 명 |
| text | string | 레이아웃 설정 시 보여질 헤더의 텍스트 |
| tooltipEllipsisOnly | boolean | ellipsis상태인 셀의 툴팁 표시여부 |
| visible | boolean | 표시 여부 |
Properties Desc
exportStyleName
excel로 export시 적용될 스타일 클래스 명
Type - string
rows
header 셀의 row count
Type - number
Remarks:
여러 level의 그룹이 혼재되어있을때 header의 높이를 일치시키기 위해서 사용한다.
그룹 헤더일 때만 적용 가능
Example:
var layout = [{
name:"group0",
items:[
{ name:"group0-1", items:["col1", "col2", "col3"] },
{ name:"group0-2", items:["col4", "col5", "col6"] }]
}, {
name: "group1",
header: {text:"group1", rows:2},
items: ["col7", "col8"]
}]showTooltip
툴팁 표시 여부
Type - boolean
Remarks:
styleName
레이아웃 설정 시 적용될 스타일 클래스 명
Type - string
text
레이아웃 설정 시 보여질 헤더의 텍스트
Type - string
tooltipEllipsisOnly
ellipsis상태인 셀의 툴팁 표시여부
Type - boolean
visible
표시 여부
Type - boolean
Remarks:
그룹 헤더일 때만 적용 가능