그리드 » Api

getitemroundtype

Description

그리드 특정 아이템의 rount_type 속성을 반환하는 API이다.

Parameters

Parameters Type Description
nRow long 로우 인덱스
nColumn long 컬럼 인덱스

Return Value

Type Description
short 아이템의 반올림 유형 (0:반올림, 1:버림, 2:내림)

Remark

아이템에 round_type이 setitemroundtype으로 설정되어 있지 않은 경우, -1 값을 리턴한다.

Example

function btn_setitemroundtype_on_mouseup() { // 6열 3번째 아이템의 반올림 유형을 구한다. screen.alert(grdList.getitemroundtype(5, 2)); }

See Also

setitemroundtype

Viewer Ver.

9.1.1.1

Update Date

20180621