|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.extjs.gxt.ui.client.event.BaseObservable
com.extjs.gxt.ui.client.widget.grid.GridView
com.extjs.gxt.ui.client.widget.grid.GroupingView
public class GroupingView
GridView that groups data based on a GroupingStore.
| Nested Class Summary | |
|---|---|
class |
GroupingView.GroupingViewImages
|
| Nested classes/interfaces inherited from class com.extjs.gxt.ui.client.widget.grid.GridView |
|---|
GridView.GridViewImages |
| Constructor Summary | |
|---|---|
GroupingView()
|
|
| Method Summary | |
|---|---|
void |
collapseAllGroups()
Collapses all groups. |
void |
expandAllGroups()
Expands all groups. |
GridGroupRenderer |
getGroupRenderer()
Returns the group renderer. |
GroupingView.GroupingViewImages |
getImages()
Returns the images used by grid. |
void |
initData(ListStore ds,
ColumnModel cm)
Initializes the data. |
boolean |
isEnableGroupingMenu()
Returns true if the grouping menu is enabled. |
boolean |
isEnableNoGroups()
Returns true if the user can turn off grouping. |
boolean |
isShowGroupedColumn()
Returns true if the grouped column is visible. |
boolean |
isStartCollapsed()
Returns true if start collapsed is enabled. |
void |
setEnableGroupingMenu(boolean enableGroupingMenu)
True to enable the grouping entry in the header context menu (defaults to true). |
void |
setEnableNoGroups(boolean enableNoGroups)
True to allow the user to turn off grouping by adding a check item to the header context menu (defaults to true). |
void |
setGroupRenderer(GridGroupRenderer groupRenderer)
Sets the group renderer. |
void |
setShowGroupedColumn(boolean showGroupedColumn)
Sets whether the grouped column is visible (defaults to true). |
void |
setStartCollapsed(boolean startCollapsed)
Sets whether the groups should start collapsed (defaults to false). |
void |
toggleAllGroups(boolean expanded)
Toggles all groups. |
| Methods inherited from class com.extjs.gxt.ui.client.widget.grid.GridView |
|---|
ensureVisible, findCell, findCellIndex, findRow, findRowIndex, focusCell, focusRow, getBody, getCell, getCellSelectorDepth, getEditorParent, getEmptyText, getHeader, getHeaderCell, getRow, getRow, getRowSelectorDepth, getScrollState, getViewConfig, getWidget, isAutoFill, isForceFit, isShowDirtyCells, isSortingEnabled, layout, refresh, scrollToTop, setAutoFill, setCellSelectorDepth, setEmptyText, setForceFit, setRowSelectorDepth, setShowDirtyCells, setSortingEnabled, setViewConfig |
| Methods inherited from class com.extjs.gxt.ui.client.event.BaseObservable |
|---|
addListener, fireEvent, fireEvent, getFiresEvents, getListeners, hasActiveEvent, hasListeners, hasListeners, removeAllListeners, removeListener, setFiresEvents |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupingView()
| Method Detail |
|---|
public void collapseAllGroups()
public void expandAllGroups()
public GridGroupRenderer getGroupRenderer()
public GroupingView.GroupingViewImages getImages()
GridView
getImages in class GridView
public void initData(ListStore ds,
ColumnModel cm)
GridView
ds - the data storecm - the column modelpublic boolean isEnableGroupingMenu()
public boolean isEnableNoGroups()
public boolean isShowGroupedColumn()
public boolean isStartCollapsed()
public void setEnableGroupingMenu(boolean enableGroupingMenu)
enableGroupingMenu - true to enablepublic void setEnableNoGroups(boolean enableNoGroups)
enableNoGroups - true to enable turning off groupingpublic void setGroupRenderer(GridGroupRenderer groupRenderer)
groupRenderer - the group rendererpublic void setShowGroupedColumn(boolean showGroupedColumn)
showGroupedColumn - true to show the grouped columnpublic void setStartCollapsed(boolean startCollapsed)
startCollapsed - true to start collapsedpublic void toggleAllGroups(boolean expanded)
expanded - true to expand
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||