mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-04 20:28:00 +08:00
DesktopTable should not recreate all Table columns on each table update #PL-4853
This commit is contained in:
parent
2af6a189f0
commit
fe59a10a87
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user