멀티라인그리드 » Api

getcolumnmidstatshow

Description

해당 컬럼의 소계 표시(midstatistics_show) 속성 값을 반환하는 API이다.

Parameters

Parameters Type Description
nSubRow short 서브로우 인덱스 (Zero-Based)
nColumn short 컬럼 인덱스 (Zero-Based)

Return Value

Type Description
BOOL midstatistics_show 속성값 또는 -1

Remark

오류 발생시 -1이 리턴된다.

Example

// 그리드 컬럼의 소계 타입을 구하는 버튼 클릭 이벤트 처리 function btnTestGetColumnMidStatType_on_mouseup(objInst) { var midstatistics_show; // 그리드 2번째 컬럼 데이터부 midstatistics_show 속성 토글 처리 midstatistics_show = grdList.getcolumnmidstatshow(0, 2); // statistics_show 값 토글 처리를 그리드에 설정 midstatistics_show = !midstatistics_show; grdList.setcolumnmidstatshow(0, 2, midstatistics_show, true); }

See Also

setcolumnmidstatshow
getcolumnstatrowtype
setcolumnstatrowtype

Viewer Ver.

23.8.30.1

Update Date

20230830