only select all rows if table is multiselect
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
This commit is contained in:
@@ -157,9 +157,11 @@ public abstract class AbstractTable<E extends NamedEntity, I> extends Table {
|
|||||||
* Select all rows in the table.
|
* Select all rows in the table.
|
||||||
*/
|
*/
|
||||||
protected void selectAll() {
|
protected void selectAll() {
|
||||||
|
if (isMultiSelect()) {
|
||||||
// only contains the ItemIds of the visible items in the table
|
// only contains the ItemIds of the visible items in the table
|
||||||
setValue(getItemIds());
|
setValue(getItemIds());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private void setColumnProperties() {
|
private void setColumnProperties() {
|
||||||
final List<TableColumn> columnList = getTableVisibleColumns();
|
final List<TableColumn> columnList = getTableVisibleColumns();
|
||||||
|
|||||||
Reference in New Issue
Block a user