ExportOptions
그리드 및 데이터 내보내기에 관한 설정들의 공통 모델
Signature:
export interface ExportOptions extends ExportBaseOptions
Extends: ExportBaseOptions
Remarks
ExportBaseOptions 를 상속한다. GridExportOptions, DataExportOptions 가 하위 모델이다.
[상위 클래스]
[하위 클래스]
Events
Property | Modifiers | Type | Description |
---|---|---|---|
booleanCallback | ExportValueCallback | boolean 필드 출력 시 수행될 콜백 | |
datetimeCallback | ExportValueCallback | datetime 필드 출력 시 수행될 콜백 | |
numberCallback | ExportValueCallback | number 필드 출력 시 수행될 콜백 | |
objectCallback | ExportValueCallback | object 필드 출력 시 수행될 콜백 | |
textCallback | ExportValueCallback | text 필드 출력 시 수행될 콜백 |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
booleanFormat | string | Boolean 형식일 때의 서식 | |
count | number | 내보내기 할 행 수 | |
datetimeFormat | string | 날짜 형식일 때의 서식 | |
replaceCrText | string | cr(Carriage Return)가 있는 경우 치환할 문자열 | |
replaceLfText | string | lf(Line Feed)가 있는 경우 치환할 문자열 | |
seperator | string | 구분자 | |
start | number | 내보내기를 시작할 행 |
Events Desc
booleanCallback
boolean 필드 출력 시 수행될 콜백
datetimeCallback
datetime 필드 출력 시 수행될 콜백
numberCallback
number 필드 출력 시 수행될 콜백
objectCallback
object 필드 출력 시 수행될 콜백
textCallback
text 필드 출력 시 수행될 콜백
Remarks:
text 타입으로 된 시간값을 내보내기 하였을 때, 엑셀에서 연산을 가능할 수 있게 하기위해 만들어졌다.
Properties Desc
booleanFormat
Boolean 형식일 때의 서식
count
내보내기 할 행 수
Remarks:
-1
로 지정하면 전체 행이 내보내기 된다.
datetimeFormat
날짜 형식일 때의 서식
replaceCrText
cr(Carriage Return)가 있는 경우 치환할 문자열
replaceLfText
lf(Line Feed)가 있는 경우 치환할 문자열
seperator
구분자
Remarks:
csv로 export시 구분자
start
내보내기를 시작할 행