체크박스(checkbox) 활용

컬럼을 체크박스로 설정할때 기본적으로 true/false로 처리되지만 원하는 값으로 설정되어 해당 값으로 처리할 수 있습니다.
3개의 컬럼의 체크박스를 선택 후 "버튼"을 눌러 그 값을 확인한다. 컬럼의 타입이 체크박스일때만 값을 보여줍니다.
아래 예의 컬럼 설정 부분입니다.
{title: ["check1"], key: "check1", type: "checkbox", options: {wholeselect: true}, disabled: false },
{title: ["check2"], key: "check2", type: "checkbox", options: {checkedvalue: "ok", uncheckedvalue: "ng"} },
{title: ["check3"], key: "check3", type: "checkbox", options: {checkedvalue: "1", uncheckedvalue: "0"} },
{title: ["라디오 체크"], key: "check4", type: "checkbox", options: {likeradio:true} },
해당 컬럼의 타입을 얻는 함수: qcell1.getColType(nCol); qcell1은 생성한 큐셀(그리드) 객체, nCol은 몇 번째 컬럼이며 체크박스의 경우 "checkbox"값이 반환
해당 셀의 (체크박스) 값을 가져오는 함수: qcell1.getCellData(nRow, nCol);



값이 보여질 영역