mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-04 12:17:41 +08:00
Ability to disable group by for certain columns #PL-5719
This commit is contained in:
parent
b14674498f
commit
3263619dcb
@ -7,12 +7,9 @@ package com.haulmont.cuba.desktop.gui.components;
|
||||
|
||||
import com.haulmont.cuba.core.entity.Entity;
|
||||
import com.haulmont.cuba.gui.components.GroupTable;
|
||||
import com.haulmont.cuba.gui.data.CollectionDatasource;
|
||||
import com.haulmont.cuba.gui.data.GroupDatasource;
|
||||
import com.haulmont.cuba.gui.data.GroupInfo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author krivopustov
|
||||
* @version $Id$
|
||||
@ -33,7 +30,21 @@ public class DesktopGroupTable<E extends Entity>
|
||||
}
|
||||
|
||||
@Override
|
||||
public void disableGroupBy(List<Object> properties) {
|
||||
public boolean getColumnGroupAllowed(String columnId) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setColumnGroupAllowed(String columnId, boolean allowed) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean getColumnGroupAllowed(Column column) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setColumnGroupAllowed(Column column, boolean allowed) {
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user