changing Colume type dynamically

how to change the column type of a particalur row on choosing a comboBox value in run time?

plz help

The column types can be changed to specified cell or row by
       grid.setCellExcellType(id,ind,new_type);
       or
       grid.setRowExcellType(id,new_type);