// Construct a new row for insertion into a DecoratedGridWidget
private DynamicDataRow makeNewRow() {
DynamicDataRow row = new DynamicDataRow();
List<DynamicColumn<DTColumnConfig>> columns = widget.getColumns();
for ( int iCol = 0; iCol < columns.size(); iCol++ ) {
DTColumnConfig col = columns.get( iCol ).getModelColumn();
CellValue< ? extends Comparable< ? >> cv = cellValueFactory.getCellValue( col,
0,
iCol,
col.getDefaultValue() );
row.add( cv );
}
return row;
}