그리드 컬럼의 inputtype이 라디오버튼인 경우 해당 정보를 Class형태로 반환하는 API이다.
Parameters | Type | Description |
---|---|---|
nColumn | long | 열 Index |
Type | Description |
---|---|
class | 라디오버튼 정보를 담고 있는 Class |
** 반환되는 클래스 정보 classGridRadioInfo = function() { // 라디오버튼 아이템 개수만큼 // classGridRadioItem 정보를 담고 있는 Array this.arritems = new Array(); // 라디오버튼 동그라미 색상 this.clrellipse = 0x00794D1A; } // 라디오버튼 한 아이템 정보 classGridRadioItem = function() { strcaption = ""; strselectvalue = ""; }
function btnGetColumnInputType_on_mouseup(objInst)
{
if(grd.getcolumninputtype(1) != XFD_GRID_INPUTRADIOBUTTON) {
factory.consoleprint("해당 컬럼은 라디오버튼이 아닙니다.");
return;
}
var clrRadioInfo = grd.getcolumnradioinfo(1);
if(clrRadioInfo == null) {
return;
}
for(var nRadio = 0;nRadio < clrRadioInfo.arritems.length;nRadio++) {
var clsRadioItem = clrRadioInfo.arritems[nRadio];
factory.consoleprint("caption : " + clsRadioItem.strcaption);
factory.consoleprint("selectvalue : " + clsRadioItem.strselectvalue);
factory.consoleprint("--------------");
}
}