그리드 » Api

inserthorzheader

Description

수평 헤더를 원하는 Row에 추가하는 API입니다.

Parameters

Parameters Type Description
nInsertRow short 추가할 수평헤더 Row Index
bRefresh BOOL [옵션] 그리드 리프레쉬 여부(true/false), 기본값 true

Return Value

Type Description
BOOL 성공/실패 여부

Remark

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

Example

function screen_on_load() { if(grd.inserthorzheader(0) == true) { grd.setheadertext(0, 0, "header 0"); } else { screen.alert("fail inserthorzheader.."); } }

See Also

sethorzheadercount
gethorzheadercount
setvertheadercount
getvertheadercount

Viewer Ver.

9.1.1.1

Update Date

20171011