M - the model typepublic class GroupingView<M> extends GridView<M> implements CollapseItemEvent.HasCollapseItemHandlers<List<M>>, ExpandItemEvent.HasExpandItemHandlers<List<M>>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GroupingView.DefaultGroupHeaderTemplate |
static interface |
GroupingView.DefaultGroupingViewTemplate |
static interface |
GroupingView.GroupHeaderTemplate<M> |
static class |
GroupingView.GroupingData<M> |
static interface |
GroupingView.GroupingViewTemplate<M> |
static interface |
GroupingView.GroupSummaryTemplate<M> |
| Constructor and Description |
|---|
GroupingView() |
ensureVisible, findCell, findCellIndex, findRow, findRowIndex, focusCell, focusRow, getAutoExpandColumn, getAutoExpandMax, getAutoExpandMin, getBody, getCell, getCellSelectorDepth, getEditorParent, getEmptyText, getHeader, getHeaderCell, getInnerCellElement, getRow, getRow, getRowSelectorDepth, getScroller, getScrollState, getViewConfig, isAdjustForHScroll, isAutoFill, isForceFit, isSelectableTarget, isShowDirtyCells, isSortingEnabled, layout, refresh, scrollToTop, setAdjustForHScroll, setAutoExpandColumn, setAutoExpandMax, setAutoExpandMin, setAutoFill, setCellSelectorDepth, setEmptyText, setForceFit, setRowSelectorDepth, setShowDirtyCells, setSortingEnabled, setViewConfigpublic HandlerRegistration addCollapseHandler(CollapseItemEvent.CollapseItemHandler<List<M>> handler)
CollapseItemEvent.HasCollapseItemHandlersCollapseItemEvent.CollapseItemHandler handler for CollapseItemEvent
events.addCollapseHandler in interface CollapseItemEvent.HasCollapseItemHandlers<List<M>>handler - the handlerpublic HandlerRegistration addExpandHandler(ExpandItemEvent.ExpandItemHandler<List<M>> handler)
ExpandItemEvent.HasExpandItemHandlersExpandItemEvent.ExpandItemHandler handler for ExpandItemEvent events.addExpandHandler in interface ExpandItemEvent.HasExpandItemHandlers<List<M>>handler - the handlerpublic void collapseAllGroups()
public void expandAllGroups()
public GroupingView.GroupSummaryTemplate<M> getGroupSummaryTemplate()
public GroupingView.GroupHeaderTemplate<M> getGroupTemplate()
public GroupingView.GroupingViewTemplate<M> getGroupViewTemplate()
public void groupBy(ColumnConfig<M,?> column)
public boolean isEnabledNoGroups()
public boolean isEnableGroupingMenu()
public boolean isShowGroupedColumn()
public boolean isStartCollapsed()
public void setEnableGroupingMenu(boolean enableGroupingMenu)
public void setEnableNoGroups(boolean enableNoGroups)
public void setGroupSummaryTemplate(GroupingView.GroupSummaryTemplate<M> groupSummaryTemplate)
public void setGroupTemplate(GroupingView.GroupHeaderTemplate<M> groupTemplate)
public void setGroupViewTemplate(GroupingView.GroupingViewTemplate<M> groupTemplate)
public void setShowGroupedColumn(boolean showGroupedColumn)
public void setStartCollapsed(boolean startCollapsed)
public void toggleAllGroups(boolean expanded)
Copyright © 2012. All Rights Reserved.