멀티라인그리드 » Api

setcolumnbuttontext

Description

그리드 칼럼의 button_text 속성값을 설정한다.

Parameters

Parameters Type Description
nSubRow short 서브 로우 인덱스
nColumn short 컬럼 인덱스
strButtonText BOOL 버튼 텍스트
bRefresh BOOL 그리드 리프레쉬 여부(true/false), 기본값 true

Return Value

Type Description
BOOL 정상 처리 여부

Remark

bRefresh 값이 false인 경우, 변경된 내용을 표시하기 위해서는 refresh 함수를 호출해야 한다.

다수의 열에 대해서 함수를 연속적으로 호출해야 하는 경우, bRefresh 파라미터 false 값을 파라미터에 설정하고, 맨 마지막에 refresh 함수를 호출하면, 전체 처리 시간 단축 효과를 거둘 수 있다.

Example

function btn_grid_on_mouseup() { var strButtonText, bRet; strButtonText = grd.getcolumnbuttontext(0, 0); factory.consoleprint("strButtonText = " + strButtonText); bRet = grd.setcolumnbuttontext(0, 0, strButtonText + "_NEW"); }

See Also

getcolumnbuttontext

Viewer Ver.

9.1.1.1

Update Date

20190711