BoolFormatFix (Cfg)

저장 함수(getSaveJson, getSaveString, doSave) 호출 시 Type:Bool 컬럼의 값을 문자열로 추출하는 기능.
getString으로 출력하는 값과 동일함.
주의: (Col)FormatFix와 함께 설정 시 (Cfg)BoolFormatFix가 우선됩니다.

Type

boolean

Options

Value Description
0(false) 본래 저장 함수 호출 시 Type:Bool 컬럼의 값을 1/0(Boolean) 출력 (default)
1(true) 저장 함수 호출 시 Type:Bool 컬럼의 값을 문자열로 출력 (getString과 동일)

Example

// Bool Type Col은 getString 과 동일한 데이터가 출력되도록 한다.
options.Cfg = {
    "BoolFormatFix": 1
};
options.Col = [
    {Type: "Bool", Name: "boolTest"}
];

sheet.getSaveJson(0);
// return {... "boolTest" : "1"}

Read More

Since

product version desc
core 8.3.0.61 기능 추가