Skip to content
Snippets Groups Projects
Commit 0f552dbd authored by felmer's avatar felmer
Browse files

out-commented code removed

SVN: 18424
parent edafd7cc
No related branches found
No related tags found
No related merge requests found
...@@ -206,14 +206,6 @@ public class TableDataProviderFactory ...@@ -206,14 +206,6 @@ public class TableDataProviderFactory
public static <T> ITableDataProvider createDataProvider(final GridRowModels<T> rows, public static <T> ITableDataProvider createDataProvider(final GridRowModels<T> rows,
final List<IColumnDefinition<T>> availableColumns) final List<IColumnDefinition<T>> availableColumns)
{ {
// final List<TableModelColumnHeader> columnHeaders = rows.getColumnHeaders(); return new TableDataProviderForGridRowModles<T>(availableColumns, rows);
// if (columnHeaders.isEmpty())
{
return new TableDataProviderForGridRowModles<T>(availableColumns, rows);
}
// TODO, 2010-10-14, Franz-Josef Elmer: The ITableDataProvider implementation based on
// TableModel can not be used be cause it doesn't contains calculated columns
// which would lead to error in case of custom filters based on calculated columns.
// return new TableDataProviderForTableModel<T>(columnHeaders, rows);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment