Constructor
new EzSearcher()
Members
autoclear :boolean
- Description:
조회중 에러발생, 결과데이터 없음 등의 상황에서 maineditor와 subeditor의 값을 자동삭제할지 여부
조회중 에러발생, 결과데이터 없음 등의 상황에서 maineditor와 subeditor의 값을 자동삭제할지 여부
Type:
- boolean
Example
var autoclear = this.ezSearcher.autoclear;
this.ezSearcher.autoclear = false;
autoselect :boolean
- Description:
Edit 선택시 내용 전체 선택 여부
nexacro.Edit의 autoselect참조
Edit 선택시 내용 전체 선택 여부
nexacro.Edit의 autoselect참조
Type:
- boolean
Example
var autoselect = this.ezSearcher.autoselect;
this.ezSearcher.autoselect = true;
buttonSpacing :number
- Description:
검색 버튼 좌 우 간격
검색 버튼 좌 우 간격
Type:
- number
Example
var width = this.ezSearcher.buttonSpacing;
this.ezSearcher.buttonSpacing = 5;
buttonwidth :number
- Description:
검색 버튼 넓이
검색 버튼 넓이
Type:
- number
Example
var width = this.ezSearcher.buttonwidth;
this.ezSearcher.buttonwidth = 30;
imemode :string
- Description:
기본입력언어
nexacro.Edit의 imemode 참조
기본입력언어
nexacro.Edit의 imemode 참조
Type:
- string
Example
var imemode = this.ezSearcher.imemode;
this.ezSearcher.imemode = "alpha";
inputfilter :string
- Description:
입력 제한할 문자 유형
nexacro.Edit의 inputfilter 참조
입력 제한할 문자 유형
nexacro.Edit의 inputfilter 참조
Type:
- string
Example
var inputfilter = this.ezSearcher.inputfilter;
this.ezSearcher.inputfilter = "alpha,dot";
inputmode :string
- Description:
입력된 영문자를 대문자 또는 소문자로 변환할지 설정하는 속성
nexacro.Edit의 inputmode 참조
입력된 영문자를 대문자 또는 소문자로 변환할지 설정하는 속성
nexacro.Edit의 inputmode 참조
Type:
- string
Example
var inputmode = this.ezSearcher.inputmode;
this.ezSearcher.inputmode = "upper";
inputtype :string
- Description:
입력 허용 문자유형 설정
nexacro.Edit의 inputtype 참조
입력 허용 문자유형 설정
nexacro.Edit의 inputtype 참조
Type:
- string
Example
var inputtype = this.ezSearcher.inputtype;
this.ezSearcher.inputtype = "numberandenglish";
locale :string
- Description:
지역코드
지역코드
Type:
- string
Example
var locale = this.ezSearcher.locale;
this.ezSearcher.locale = "ko_KR";
maxlength :number
- Description:
입력 허용할 최대 길이
nexacro.Edit의 maxlength 참조
입력 허용할 최대 길이
nexacro.Edit의 maxlength 참조
Type:
- number
Example
var maxlength = this.ezSearcher.maxlength;
this.ezSearcher.maxlength = 20;
password :boolean
- Description:
내용 숨김 처리 여부
nexacro.Edit의 password참조
내용 숨김 처리 여부
nexacro.Edit의 password참조
Type:
- boolean
Example
var password = this.ezSearcher.password;
this.ezSearcher.password = true;
popupparam :string
- Description:
팝업 호출시 전달할 파라미터
Nexacaro 파라미터 규칙을 따름
팝업 호출시 전달할 파라미터
Nexacaro 파라미터 규칙을 따름
Type:
- string
Example
var param = this.ezSearcher.popupparam;
this.ezSearcher.popupparam = "CD='0000' CD_NM='TEST'";
readonly :boolean
- Description:
읽기전용 여부
읽기전용 여부
Type:
- boolean
Example
var readonly = this.ezSearcher.readonly;
this.ezSearcher.readonly = true;
subediterwidth :number
- Description:
참조값 표시용 Edit의 넓이
참조값 표시용 Edit의 넓이
Type:
- number
Example
var width = this.ezSearcher.subediterwidth;
this.ezSearcher.subediterwidth = 100;
subvalue :string
- Description:
컴포넌트의 참조값(ex 우편번호 검색 시 주소값)
컴포넌트의 참조값(ex 우편번호 검색 시 주소값)
Type:
- string
Example
var value = this.ezSearcher.subvalue;
this.ezSearcher.subvalue = "CM00";
type :string
- Description:
검색 유형 명
검색 유형은 EzSearchItem형태로 EzSearcher.types의 append 함수를 이용해 등록합니다.
검색 유형 명
검색 유형은 EzSearchItem형태로 EzSearcher.types의 append 함수를 이용해 등록합니다.
Type:
- string
Example
var type = this.ezSearcher.type;
this.ezSearcher.type = "postNum";
usesoftkeyboard :boolean
- Description:
포커싱될 때 키패드 표시 여부
nexacro.Edit의 usesoftkeyboard 참조
포커싱될 때 키패드 표시 여부
nexacro.Edit의 usesoftkeyboard 참조
Type:
- boolean
Example
var usesoftkeyboard = this.ezSearcher.usesoftkeyboard;
this.ezSearcher.usesoftkeyboard = true;
usetransonclick :boolean
- Description:
버튼 클릭 시 즉시 조회 시도 여부
- true일 경우 팝업 호출 전 데이터 조회를 시도함, 데이터 결과가 1건일 경우 조회 완료 처리하고 0건이거나 2건 이상일 경우 팝업 호출
- false일 경우 팝업 호출
버튼 클릭 시 즉시 조회 시도 여부
- true일 경우 팝업 호출 전 데이터 조회를 시도함, 데이터 결과가 1건일 경우 조회 완료 처리하고 0건이거나 2건 이상일 경우 팝업 호출
- false일 경우 팝업 호출
Type:
- boolean
Example
var isUsing = this.ezSearcher.usetransonclick;
this.ezSearcher.usetransonclick = true;
usetransonkey :boolean
- Description:
메인 Edit에서 Enter키 입력시 즉시 조회 시도 여부
- true일 경우 팝업 호출 전 데이터 조회를 시도함, 데이터 결과가 1건일 경우 조회 완료 처리하고 0건이거나 2건 이상일 경우 팝업 호출
- false일 경우 팝업 호출
메인 Edit에서 Enter키 입력시 즉시 조회 시도 여부
- true일 경우 팝업 호출 전 데이터 조회를 시도함, 데이터 결과가 1건일 경우 조회 완료 처리하고 0건이거나 2건 이상일 경우 팝업 호출
- false일 경우 팝업 호출
Type:
- boolean
Example
var isUsing = this.ezSearcher.usetransonkey;
this.ezSearcher.usetransonkey = true;
value :string
- Description:
컴포넌트의 값
컴포넌트의 값
Type:
- string
Example
var value = this.ezSearcher.value;
this.ezSearcher.value = "CM00";
(static) i18nConfig :Object
- Description:
EzFile 내장 다국어 정보 객체
EzFile 내장 다국어 정보 객체
Type:
- Object
Methods
getData() → {Object}
- Description:
현재 조회된 데이터 값을 return
Example
var data = this.ezReport.getData();
Returns:
조회된 데이터
조회 팝업 또는 쿼리에서 리턴받은 모든 항목이 포함됩니다.
예를 들어 우편번호검색에서 우편번호 및 주소 외에 상세주소 값이나 지번주소값이 필요한 경우 사용합니다.
- Type
- Object
setControl()
- Description:
동적으로 생성한 nexacro.EzSearchItem을 컨트롤러 추가합니다.
EzSearcher.types에 미리 등록된 EzSearchItem 이외에 동적으로 생성한 것을 즉시 사용할 경우입니다.
Example
this.customItem = new nexacro.EzSearchItem(...)
this.ezReport.setControl(item);
set_autoselect(autoselect)
- Description:
Edit 선택시 내용 전체 선택 여부
Example
this.ezSearcher.set_autoselect(true);
Parameters:
| Name | Type | Description |
|---|---|---|
autoselect |
boolean | Edit 선택시 내용 전체 선택 여부 |
set_buttonSpacing(buttonSpacing)
- Description:
검색 버튼 좌 우 간격 설정
Example
this.ezSearcher.set_buttonSpacing(5);
Parameters:
| Name | Type | Description |
|---|---|---|
buttonSpacing |
number | 검색 버튼 좌 우 간격(px) |
set_buttonwidth(buttonwidth)
- Description:
검색 버튼 넓이 설정
Example
this.ezSearcher.set_buttonwidth(30);
Parameters:
| Name | Type | Description |
|---|---|---|
buttonwidth |
number | 검색 버튼 넓이 |
set_imemode(imemode)
- Description:
기본입력언어 설정
Example
this.ezSearcher.set_imemode("alpha");
Parameters:
| Name | Type | Description |
|---|---|---|
imemode |
string | 기본입력언어 |
set_inputfilter(inputfilter)
- Description:
입력 제한할 문자 유형 설정
Example
this.ezSearcher.set_inputfilter("alpha,dot");
Parameters:
| Name | Type | Description |
|---|---|---|
inputfilter |
string | 입력 제한할 문자 유형 |
set_inputmode(inputmode)
- Description:
입력된 영문자를 대문자 또는 소문자로 변환할지 설정하는 속성 설정
Example
this.ezSearcher.set_inputmode("upper");
Parameters:
| Name | Type | Description |
|---|---|---|
inputmode |
string | 입력된 영문자를 대문자 또는 소문자로 변환할지 설정하는 속성 |
set_inputtype(inputtype)
- Description:
입력 허용 문자유형 설정
Example
this.ezSearcher.set_inputtype("numberandenglish");
Parameters:
| Name | Type | Description |
|---|---|---|
inputtype |
string | 입력 허용 문자유형 설정 |
set_locale(locale)
- Description:
지역코드 설정 함수
Example
this.ezSearcher.set_locale("ko_KR");
Parameters:
| Name | Type | Description |
|---|---|---|
locale |
string | 지역코드 |
set_maxlength(maxlength)
- Description:
입력 허용할 최대 길이 설정
Example
this.ezSearcher.set_maxlength(20);
Parameters:
| Name | Type | Description |
|---|---|---|
maxlength |
number | 입력 허용할 최대 길이 |
set_password(password)
- Description:
내용 숨김 처리 여부 설정
Example
this.ezSearcher.set_password(true);
Parameters:
| Name | Type | Description |
|---|---|---|
password |
boolean | 내용 숨김 처리 여부 |
set_popupparam(popupparam)
- Description:
팝업 호출시 전달할 파라미터 설정
Example
this.ezSearcher.set_popupparam("CD='0000' CD_NM='TEST'");
Parameters:
| Name | Type | Description |
|---|---|---|
popupparam |
string | 팝업 호출시 전달할 파라미터 |
set_readonly(readonly)
- Description:
읽기전용 여부 설정
Example
this.ezSearcher.set_readonly(true);
Parameters:
| Name | Type | Description |
|---|---|---|
readonly |
boolean | 읽기전용 여부 |
set_subediterwidth(subediterwidth)
- Description:
참조값 표시용 Edit의 넓이 설정
Example
this.ezSearcher.set_subediterwidth(100);
Parameters:
| Name | Type | Description |
|---|---|---|
subediterwidth |
number | 참조값 표시용 Edit의 넓이 |
set_subvalue(subvalue)
- Description:
컴포넌트의 참조값 설정
Example
this.ezSearcher.set_subvalue("CM00");
Parameters:
| Name | Type | Description |
|---|---|---|
subvalue |
string | 컴포넌트의 참조값 |
set_type(type)
- Description:
검색 유형 명 설정
Example
this.ezSearcher.set_type("postNum");
Parameters:
| Name | Type | Description |
|---|---|---|
type |
String | 검색 유형 명 |
set_value(value)
- Description:
컴포넌트 값 설정
Example
this.ezSearcher.set_value("CM00");
Parameters:
| Name | Type | Description |
|---|---|---|
value |
string | 컴포넌트의 값 |