OrigSearchData (col)

기본적으로 IBSheet는 조회 데이터를 자동 타입 변환하여 Row 객체에 저장합니다. (예: Text 컬럼에 "1234" 조회 → Row 객체에 숫자 1234로 저장)
이 옵션을 1(true)로 설정하면 원본 데이터 타입을 그대로 유지합니다.
getValue, getString에는 영향을 주지 않습니다.

Type

boolean

Options

Value Description
0(false) 조회시 숫자, 문자 타입의 데이터를 각각의 타입에 맞는 형식으로 변형하여 저장 (default)
1(true) 조회시 숫자, 문자 타입의 데이터를 변형하지 않고 그대로 유지

Example

options.Cols = [
    {Type: "Text", OrigSearchData: 1, Name: "CarName", Width: 120},
];

// 조회 데이터: {"CarName":"1234"}

// OrigSearchData: 0 (기본값) → row.CarName = 1234    (숫자형)
// OrigSearchData: 1          → row.CarName = "1234"  (문자형, 원본 유지)

Read More

Since

product version desc
core 8.0.0.17 기능 추가