멀티라인그리드 » Api

getcolumndatainputtype

Description

그리드 칼럼의 data_inputtype 속성값을 리턴한다.

Parameters

Parameters Type Description
nSubRow short 서브 로우 인덱스
nColumn short 컬럼 인덱스

Return Value

Type Description
short data_inputtype 속성값

Remark

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

Example

function btn_grid_on_mouseup() { var nColumnDataInputType, nItemDataInputType, bRet; nColumnDataInputType = grd.getcolumndatainputtype(0, 0); factory.consoleprint("nColumnDataInputType = " + nColumnDataInputType); if(nColumnDataInputType == 0) { bRet = grd.setcolumndatainputtype(0, 0, 1); } else { bRet = grd.setcolumndatainputtype(0, 0, 0); } factory.consoleprint("setcolumndatainputtype = " + bRet); nColumnDataInputType = grd.getcolumndatainputtype(0, 0); factory.consoleprint("nColumnDataInputType = " + nColumnDataInputType); nItemDataInputType = grd.getitemdatainputtype(0, 0, 0); factory.consoleprint("nItemDataInputType = " + nItemDataInputType); bRet = grd.setitemdatainputtype(0, 0, 0, 1); factory.consoleprint("setitemdatainputtype = " + bRet); nItemDataInputType = grd.getitemdatainputtype(0, 0, 0); factory.consoleprint("nItemDataInputType = " + nItemDataInputType); }

See Also

setcolumncalendartype

Viewer Ver.

9.1.1.1

Update Date

20190715