DesktopTable should not recreate all Table columns on each table update #PL-4853

This commit is contained in:
Yuriy Artamonov 2015-02-19 12:23:11 +00:00
parent 2af6a189f0
commit fe59a10a87

View File

@ -566,7 +566,7 @@ public abstract class DesktopAbstractTable<C extends JXTable>
// Major change in table columns behavior #PL-4853 // Major change in table columns behavior #PL-4853
// We need not to recreate all columns on each table change after initTableModel // We need not to recreate all columns on each table change after initTableModel
impl.setAutoCreateColumnsFromModel(false); // impl.setAutoCreateColumnsFromModel(false);
if (isSortable()) { if (isSortable()) {
impl.setRowSorter(new RowSorterImpl(tableModel)); impl.setRowSorter(new RowSorterImpl(tableModel));