Ability to disable group by for certain columns #PL-5719

This commit is contained in:
Gleb Gorelov 2015-08-31 11:42:01 +00:00
parent b14674498f
commit 3263619dcb

View File

@ -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