트리그리드 » Api

getrowcheckstate

Description

트리 그리드 체크박스열의 특정 로우 체크의 체크 상태를 가져오는 API이다.

Parameters

Parameters Type Description
nRow long 로우 인덱스

Return Value

Type Description
short 체크박스 상태 (0:uncheck, 1:check, 2:part check)

Example

function btn_on_mouseup() { var check_state, row_index; row_index = grdList.getselectrow(); check_state = grdList.getrowcheckstate(grdList.getselectrow()); switch (check_state) { case 0: factory.consoleprint("Uncheck"); break; case 1: factory.consoleprint("Check"); break; case 2: factory.consoleprint("Part Check"); break; } }

See Also

ischeckedrow
ispartcheckedrow

Viewer Ver.

9.1.1.1

Update Date

20230904