트리그리드 » Api

setitemprotectcopy

Description

그리드 특정 아이템의 아이템 값 복사 방지 여부를 설정하는 API이다.

Parameters

Parameters Type Description
nRow long 로우 인덱스
nColumn long 컬럼 인덱스
bProtectCopy BOOL 복사 방지 여부

Return Value

Type Description
BOOL 정상 처리 여부

Example

function btngetitembackcolor_on_mouseup() { var ret, is_protect_copy; is_protect_copy = grd.getitemprotectcopy(0, 1); factory.consoleprint("getitemprotectcopy = " + is_protect_copy); // 아이템 복사 방지 상태 토글 처리 ret = grd.setitemprotectcopy(0, 1, !is_protect_copy); factory.consoleprint("setitemprotectcopy = " + ret); is_protect_copy = grd.getitemprotectcopy(0, 1); factory.consoleprint("getitemprotectcopy = " + is_protect_copy); }

See Also

getitemprotectcopy

Viewer Ver.

22.7.1.1

Update Date

20220701