멀티라인그리드 » Api
getcolumnprotectcopy
Description
그리드 특정 컬럼의 protect_copy 속성값을 반환하는 API이다.
Parameters
Parameters |
Type |
Description |
nSubRow |
short |
서브로우 인덱스 |
nColumn |
short |
컬럼 인덱스 |
Return Value
Type |
Description |
short |
특정 컬럼에 protect_copy 속성값 |
Example
function btn_on_mouseup()
{
factory.consoleprint("before : " + grd_grid.getcolumnprotectcopy(0));
// 컬럼 속성값 토글 처리
if (grd_grid.getcolumnprotectcopy(0, 0)) {
grd_grid.setcolumnprotectcopy(0, 0, false);
}
else {
grd_grid.setcolumnprotectcopy(0, 0, true);
}
factory.consoleprint("after : " + grd_grid.getcolumnprotectcopy(0, 0));
}
See Also
setcolumnprotectcopy
Viewer Ver.
22.9.20.1
Update Date
20220920