mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
PL-6886 Ability to disable selection in Table
This commit is contained in:
parent
3a8af30801
commit
ca355ba2b0
@ -2279,8 +2279,8 @@ public abstract class DesktopAbstractTable<C extends JXTable, E extends Entity>
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShowSelection(boolean show) {
|
||||
showSelection = show;
|
||||
public void setShowSelection(boolean showSelection) {
|
||||
this.showSelection = showSelection;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -400,9 +400,13 @@ public interface Table<E extends Entity>
|
||||
boolean isColumnHeaderVisible();
|
||||
|
||||
/**
|
||||
* Set possibility to hide or show selection
|
||||
* Hide or show selection
|
||||
*/
|
||||
void setShowSelection(boolean showSelection);
|
||||
|
||||
/**
|
||||
* @return true if selection is visible
|
||||
*/
|
||||
boolean isShowSelection();
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
Reference in New Issue
Block a user