Constructor
new EzFinder()
Members
buttonText :string
- Description:
검색 버튼에 표시할 문자
검색 버튼에 표시할 문자
Type:
- string
Example
var text = this.ezFinder.buttonText;
this.ezFinder.buttonText = "검색";
buttonTooltipText :string
- Description:
검색 버튼에 적용할 tooltip text
검색 버튼에 적용할 tooltip text
Type:
- string
Example
var text = this.ezFinder.buttonTooltipText;
this.ezFinder.buttonTooltipText = "검색";
checkboxText :string
- Description:
완전일치 체크박스에 표시할 문자열
완전일치 체크박스에 표시할 문자열
Type:
- string
Example
var text = this.ezFinder.checkboxText;
this.ezFinder.checkboxText = "완전일치";
checkboxTooltipText :string
- Description:
완전일치 체크박스에 적용할 tooltip문자열
완전일치 체크박스에 적용할 tooltip문자열
Type:
- string
Example
var text = this.ezFinder.checkboxTooltipText;
this.ezFinder.checkboxTooltipText = "완전일치";
contentsSpacing :number
- Description:
EzFinder 내부 컴포넌트간 간격(px)
EzFinder 내부 컴포넌트간 간격(px)
Type:
- number
Example
var spacing = this.ezFinder.contentsSpacing;
this.ezFinder.contentsSpacing = 5;
keyword :string
- Description:
검색어
검색어
Type:
- string
Example
var text = this.ezFinder.keyword;
this.ezFinder.keyword = "ㅇㅈ";
locale :string
- Description:
지역코드
지역코드
Type:
- string
Example
var locale = this.ezFinder.locale;
this.ezFinder.locale = "ko_KR";
showCheckbox :boolean
- Description:
전일치 체크박스 표시 여부
전일치 체크박스 표시 여부
Type:
- boolean
Example
var showCheckbox = this.ezFinder.showCheckbox;
this.ezFinder.showCheckbox = true;
targetColumns :string
- Description:
검색 대상 칼럼 명
여러 칼럼을 대상으로 할 경우 구분자는 ','으로 한다.
검색 대상 칼럼 명
여러 칼럼을 대상으로 할 경우 구분자는 ','으로 한다.
Type:
- string
Example
var dsNm = this.ezFinder.targetColumns;
this.ezFinder.targetColumns = "USER_ID,USER_NM";
targetDataset :string
- Description:
검색 대상 Dataset 명칭 설정
Dataset을 직접 설정할 경우 setTargetDataset함수를 사용하세요
검색 대상 Dataset 명칭 설정
Dataset을 직접 설정할 경우 setTargetDataset함수를 사용하세요
Type:
- string
Example
var dsNm = this.ezFinder.targetDataset;
this.ezFinder.targetDataset = "ds_list";
text :string
- Description:
레이블 영역에 표시할 문자
레이블 영역에 표시할 문자
Type:
- string
Example
var text = this.ezFinder.text;
this.ezFinder.text = "이름";
(static, readonly) LOG_KEY :string
- Description:
로깅용 키
로깅용 키
Type:
- string
(static) i18nConfig :Object
- Description:
EzFinder 내장 다국어 정보 객체
EzFinder 내장 다국어 정보 객체
Type:
- Object
Methods
findNext() → {number}
- Description:
현재 선택된 행의 다음행 부터 조건에 맞는 행을 찾는다.
Example
this.ezFinder.findNext();
Returns:
찾은 행의 row index
- Type
- number
setTargetColumns(cols)
- Description:
검색 대상 칼럼 명 설정 함수
Example
this.ezFinder.setTargetColumns(["USER_ID","USER_NM"]);
Parameters:
| Name | Type | Description |
|---|---|---|
cols |
Array.<string> | 검색 대상 칼럼 명 목록 |
setTargetDataset(ds)
- Description:
검색 대상 Dataset 설정
Example
this.ezFinder.setTargetDataset(this.ds_list);
Parameters:
| Name | Type | Description |
|---|---|---|
ds |
nexacro.Dataset | 검색 대상 Dataset |
set_buttonText()
- Description:
검색 버튼에 표시할 문자 설정
Properties:
| Name | Type | Description |
|---|---|---|
buttonText |
string | 검색 버튼에 표시할 문자 |
Example
this.ezFinder.set_buttonText("검색");
set_buttonTooltipText(buttonTooltipText)
- Description:
검색 버튼에 적용할 tooltip text 설정
Example
this.ezFinder.set_buttonTooltipText("검색");
Parameters:
| Name | Type | Description |
|---|---|---|
buttonTooltipText |
string | 검색 버튼에 적용할 tooltip text |
set_checkboxText(checkboxText)
- Description:
완전일치 체크박스에 표시할 문자열 설정
Example
this.ezFinder.set_checkboxText("완전일치");
Parameters:
| Name | Type | Description |
|---|---|---|
checkboxText |
string | 완전일치 체크박스에 표시할 문자열 |
set_checkboxTooltipText(checkboxTooltipText)
- Description:
완전일치 체크박스에 적용할 tooltip문자열 설정
Example
this.ezFinder.set_checkboxTooltipText("완전일치");
Parameters:
| Name | Type | Description |
|---|---|---|
checkboxTooltipText |
string | 완전일치 체크박스에 적용할 tooltip문자열 |
set_contentsSpacing(contentsSpacing)
- Description:
EzFinder 내부 컴포넌트간 간격 설정
Example
this.ezFinder.set_contentsSpacing(5);
Parameters:
| Name | Type | Description |
|---|---|---|
contentsSpacing |
number | EzFinder 내부 컴포넌트간 간격(px) |
set_keyword(keyword)
- Description:
검색어 설정
Example
this.ezFinder.set_keyword("ㅇㅈ");
Parameters:
| Name | Type | Description |
|---|---|---|
keyword |
string | 검색어 |
set_locale(locale)
- Description:
지역코드 설정
Example
this.ezFinder.set_locale("ko_KR");
Parameters:
| Name | Type | Description |
|---|---|---|
locale |
string | 지역코드 |
set_showCheckbox(showCheckboxopt)
- Description:
완전일치 체크박스 표시 여부 설정
Example
this.ezFinder.set_showCheckbox(true);
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
showCheckbox |
boolean |
<optional> |
true
|
완전일치 체크박스 표시 여부 |
set_targetColumns(targetColumns)
- Description:
검색 대상 칼럼 명 설정
Example
this.ezFinder.set_targetColumns("USER_ID,USER_NM");
Parameters:
| Name | Type | Description |
|---|---|---|
targetColumns |
string | 검색 대상 칼럼 명 |
set_targetDataset(targetDataset)
- Description:
검색 대상 Dataset 명칭 설정
Dataset을 직접 설정할 경우 setTargetDataset함수를 사용하세요
Example
this.ezFinder.set_targetDataset("ds_list");
Parameters:
| Name | Type | Description |
|---|---|---|
targetDataset |
string | 검색 대상 Dataset 명칭 |
set_text(text)
- Description:
레이블 영역에 표시할 문자 설정
Example
this.ezFinder.set_text("이름");
Parameters:
| Name | Type | Description |
|---|---|---|
text |
string | 레이블 영역에 표시할 문자 |
set_wholewordMode(wholewordModeopt)
- Description:
완전일치하는 데이터만 찾을지 여부 설정
Example
this.ezFinder.set_wholewordMode(true);
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
wholewordMode |
boolean |
<optional> |
false
|
완전일치하는 데이터만 찾을지 여부 |