본문 바로가기
Nexacro/예제

[Nexacro] 다양한 Grid Displaytype 예제

by bjgu97 2021. 11. 26.
반응형

1) 체크박스

- displaytype: checkboxcontrol

- edittype: checkbox

 

2) No(자동부여번호)

- displaytype: normal

- text: dataset.rowcount - currow

 

3) ComboBox

- displaytype: combocontrol

- edittype: none

- combocodecol: DATA_CODE

- combodatacol: DATA_NAME

- combodataset: data_table

 

4) 평소엔 text, 수정시엔 ComboBox

- displaytype: combotext

- edittype: combo

- combocodecol: DATA_CODE

- combodatacol: DATA_NAME

- combodataset: data_table

 

5) 형식 있는 text

- displaytype: mask

- edittype: mask

- text: bind

- maskeditformat: AA-### / #.###

- maskedittype: string / integer

 

6) 날짜형식

- displaytype: date

- edittype: date

- calendardateformat: yyyy-MM-dd ddd (2021-10-01 월)

 

7) 프로그레스바

- displaytype: progressbarcontrol

- text: (퍼센트) Math.round(DATA1/DATA2*100) + "%"

 

8) (조건별)이미지

- displaytype: imagecontrol

- text:

    GENDER == "M" ? "Images::img_gender_m.png" : "Images::img_gender_w.png"

 

댓글