컬럼 삭제, 정보 보기

1. removeColumn(nCol)
- 컬럼을 삭제 함.
- 주어진 nCol 위치에 해당 하는 컬럼을 삭제함
ex)
QCell1.removeColumn(3);
2. insertColumn(nCol, objCol)
- 컬럼을 추가함
- 주어진 nCol 위치에 objCol 정보를 이용하여 컬럼을 추가함.
ex)
QCell1.insertColumn(3,{width : 150, title : ['시군구'],key : 'cdwNm'});

3. getColumnInfo(nCol)
- 컬럼 정보를 얻어옴
- 주어진 nCol 위치에 해당 하는 컬럼 정보를 얻음
- nCol 이 없을 경우 null 반환
ex)
QCell1.getColumnInfo(3);

4. initGrid(bUsePrevData)
- 그리드를 초기 정보로 다시 만듬
- bUsePrevData 가 true 일 경우 데이터는 기존 데이터를 이용하여 만듬
ex)
QCell1.initGrid();

컬럼 생성시 정보를 가지고 Remove UI 생성
QCELL.create({
id: "qcell1",
parentid: "sheetarea",
width: "100%",//%사용 시에는 부모의 크기가 정의되어 있어야 함
height: "100%",
columns: [
{width : 150, title : ['시도'],key : 'cpNm'},
{width : 150, title : ['시군구'],key : 'cdwNm' , remove : true},
{width : 150, title : ['읍면동'],key : 'ttbNm', filter : true},
{width : 150, title : ['인구 수'],key : 'people', datatype:"number"},
{width : 70, title : ['성별'],key : 'gender', }
],
frozenrows: 2,
rowheader: "sequence",
data: {"input":grid_data},
copy: true
});

- 크기 및 위치 백그라운드 이미지는
.rt-qc-removearea CSS 클래스로 정의. 단 top 은 언제나 Cell 의 center 로 고정 되어 있음.