if (columns[i] instanceof IRBEnumDataColumn) {
String stringValue = getEnumValue(value,
((IRBEnumDataColumn) columns[i]).getEnum());
if (stringValue == null)
dataGridRow.setCellWidget(i, new HTML(" "));
else
dataGridRow.setCellText(i, stringValue);
continue;
}
// insert handlers for your IRB data solumns types HERE !
// default handler of value without check columns types
if (value == null) {
dataGridRow.setCellWidget(i, new HTML(" "));
} else {
if (value.isNull())
dataGridRow.setCellWidget(i, new HTML(" "));
else
dataGridRow.setCellText(i, value.getValue());
}
}