PDA

View Full Version : is it possible to know the type of data that is bind to the column of the grid?



suresh22446688
28 Jun 2012, 3:42 AM
Hi,
I am using grid. i can get all the columns by below code.

List<ColumnConfig> columns = grid.getColumnModel().getColumns();
for (ColumnConfig columnConfig : columns) {

}

Now i need to know the type of data each column is bind to. i have 5 columns among them 4 are of String type and one is Boolean type as it has a check box. by iterating each column i want to know the data type of the column? is it possible? Thanks!