멀티라인그리드 » Api

getcolumncelllinestyle

Description

그리드 특정 칼럼의 cell_line_leftstyle 또는 cell_line_rightstyle 속성값을 리턴한다.

Parameters

Parameters Type Description
nSubRow short 서브로우 인덱스
nColumn short 칼럼 인덱스
bDirection short 컬럼의 왼쪽/오른쪽 방향

Return Value

Type Description
short cell_line_leftstyle 또는 cell_line_rightstyle 속성값 (오류 발생시 -1값 리턴)

Remark

** 파라미터 bDirection 값
0 : 좌측 수직선
1 : 우측 수직선

Example

function screen_on_load() { var = grd.getcolumncelllinestyle(0, 2, 1); // 컬럼의 오른쪽 수직선이 숨김(1: none) 처리되어 있으면 if(bDawRightLine == 1) { // 그리드의 2 Index 컬럼의 오른쪽선 실선으로 표시 // 자동으로 3 Index 컬럼의 왼쪽선도 실선으로 표시 // 2,3 Index 컬럼 사이의 수직선이 실선으로 표시 grd.setcolumncelllinestyle(0, 2, -1, 1); } }

See Also

setcolumncelllinestyle

Viewer Ver.

9.1.1.1

Update Date

20210531