diff --git a/packages/main/src/Table.js b/packages/main/src/Table.js index 7530d8c3a0ac..0c2ba673bc8e 100644 --- a/packages/main/src/Table.js +++ b/packages/main/src/Table.js @@ -542,6 +542,11 @@ class Table extends UI5Element { this._noDataDisplayed = !this.rows.length && !this.hideNoData; this.visibleColumnsCount = this.visibleColumns.length; + if (this.isMultiSelect) { + // we have to count the selection column as well + this.visibleColumnsCount += 1; + } + this._allRowsSelected = selectedRows.length === this.rows.length; this._prevFocusedRow = this._prevFocusedRow || this.rows[0];