트리그리드 » Api
getitemprotectcopy
Description
그리드 특정 아이템의 아이템 값 복사 방지 여부를 반환하는 API이다.
Parameters
Parameters |
Type |
Description |
nRow |
long |
로우 인덱스 |
nColumn |
long |
컬럼 인덱스 |
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
setitemprotectcopy
Viewer Ver.
22.7.1.1
Update Date
20220701