그리드 » Api
getcolumnstatisticsshow
Description
해당 컬럼의 statistics_show 속성값을 반환 하는 API입니다.
Parameters
Parameters |
Type |
Description |
nColumn |
short |
컬럼 인덱스 (Zero-Base) |
Return Value
Type |
Description |
BOOL |
해당 컬럼의 statistics_show 속성값 또는 오류 발생시 -1 |
Example
function btn_on_mouseup(objInst)
{
var ret, is_statisticsshow;
is_statisticsshow = grdList.getcolumnstatisticsshow(2);
screen.alert(is_statisticsshow);
// 컬럼 statistics_show 속성값 토글 처리
ret = grdList.setcolumnstatisticsshow(2, !is_statisticsshow);
screen.alert("setcolumnstatisticsshow return = " + ret);
is_statisticsshow = grdList.getcolumnstatisticsshow(2);
screen.alert(is_statisticsshow);
}
See Also
setcolumnstatisticsshow
Viewer Ver.
22.7.18.1
Update Date
20220718