diff --git a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopAbstractTable.java b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopAbstractTable.java index 3f14b65cf8..c4ec436cd7 100644 --- a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopAbstractTable.java +++ b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopAbstractTable.java @@ -769,6 +769,9 @@ public abstract class DesktopAbstractTable if (focusManager != null && scrollRowIndex >= 0) { focusManager.scrollToSelectedRow(scrollRowIndex); } + + // reassign identifiers for auto created columns + setColumnIdentifiers(); } @SuppressWarnings("unchecked") @@ -1873,9 +1876,11 @@ public abstract class DesktopAbstractTable TableColumn tableColumn = getColumn(column); if (tableColumn != null) { DesktopTableCellEditor cellEditor = (DesktopTableCellEditor) tableColumn.getCellEditor(); - boolean inline = cellEditor.isInline(); - if (!inline) { - return false; + if (cellEditor != null) { + boolean inline = cellEditor.isInline(); + if (!inline) { + return false; + } } } }