선택한 영역의 셀 개수 및 합계/평균 값 정보를 시트 외부의 Dom Element 에 표시합니다.
boolean setCountInfoElement ( element, opt );
| Name | Type | Required | Description |
|---|---|---|---|
| element | object | string |
필수 | 선택한 영역의 셀 개수 및 합계/평균 값 정보를 표시할 Dom Element 또는 해당 id |
| opt | object |
선택 | SelectionSummary cfg 옵션 정보Align, Width 제외 |
boolean : true: 외부의 Dom Element 표시 성공 false: 실패
var option = {
"Mode": "DelRow|AllRange",
"SumFormat":"#,###개"
}
// id가 'countElem'인 div 에 선택한 영역의 셀 개수 및 합계/평균 값 정보 출력 설정
sheet.setSelectionSummaryInfoElement ( 'countElem' , option );
sheet.setSelectionSummaryInfoElement ( docuemnt.getElementById('countElem') , option );
| product | version | desc |
|---|---|---|
| core | 8.1.0.6 | 기능 추가 |