X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/output/Ext.grid.GroupingView.html diff --git a/docs/output/Ext.grid.GroupingView.html b/docs/output/Ext.grid.GroupingView.html index ec5c74a5..bf6e2462 100644 --- a/docs/output/Ext.grid.GroupingView.html +++ b/docs/output/Ext.grid.GroupingView.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  GridView
    GroupingView

Class Ext.grid.GroupingView

Package:Ext.grid
Defined In:GroupingView.js
Class:GroupingView
Extends:GridView
Adds the ability for single level grouping to the grid. A GroupingStore +
Observable
  GridView
    GroupingView

Class Ext.grid.GroupingView

Package:Ext.grid
Defined In:GroupingView.js
Class:GroupingView
Extends:GridView
Adds the ability for single level grouping to the grid. A GroupingStore must be used to enable grouping. Some grouping characteristics may also be configured at the Column level
  • emptyGroupText
  • @@ -158,7 +158,7 @@ Ext.DomObserver = Ext.extend(Object, { typeAhead: true, mode: 'local', triggerAction: 'all' -});

Observable rowSelector : String
The selector used to find rows internally (defaults to 'div.x-grid3-row')
GridView rowSelectorDepth : Number
The number of levels to search for rows in event delegation (defaults to 10)
GridView scrollOffset : Number
The amount of space to reserve for the vertical scrollbar +});

Observable rowBodySelector : String
The selector used to find row bodies internally (defaults to 'div.x-grid3-row')
GridView rowBodySelectorDepth : Number
The number of levels to search for row bodies in event delegation (defaults to 10)
GridView rowSelector : String
The selector used to find rows internally (defaults to 'div.x-grid3-row')
GridView rowSelectorDepth : Number
The number of levels to search for rows in event delegation (defaults to 10)
GridView scrollOffset : Number
The amount of space to reserve for the vertical scrollbar (defaults to undefined). If an explicit value isn't specifi...
The amount of space to reserve for the vertical scrollbar (defaults to undefined). If an explicit value isn't specified, this will be automatically calculated.
GridView selectedRowClass : String
The CSS class applied to a selected row (defaults to 'x-grid3-row-selected'). An @@ -241,7 +241,7 @@ Or a shorthand syntax:
scope: this });
Returns:
  • void
Observable collapseAllGroups() : - void
Collapses all grouped rows.
Collapses all grouped rows.
Parameters:
  • None.
Returns:
  • void
GroupingView enableBubbleObject events ) + void
Collapses all grouped rows.
Collapses all grouped rows.
Parameters:
  • None.
Returns:
  • void
GroupingView enableBubbleString/Array events ) : void
Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if present...

Enables events fired by this Observable to bubble up an owner hierarchy by calling @@ -250,13 +250,13 @@ this.getBubbleTarget() if present...

Enables events fi implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to access the required target more quickly.

Example:

Ext.override(Ext.form.Field, {
-//  Add functionality to Field's initComponent to enable the change event to bubble

-    initComponent: Ext.form.Field.prototype.initComponent.createSequence(function() {
-        this.enableBubble('change');
+    //  Add functionality to Field's initComponent to enable the change event to bubble

+    initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
+        this.enableBubble('change');
     }),
 
-//  We know that we want Field's events to bubble directly to the FormPanel.

-    getBubbleTarget: function() {
+    //  We know that we want Field's events to bubble directly to the FormPanel.

+    getBubbleTarget : function() {
         if (!this.formPanel) {
             this.formPanel = this.findParentByType('form');
         }
@@ -271,11 +271,11 @@ access the required target more quickly.

}], listeners: { change: function() { -// Title goes red if form has been modified. - myForm.header.setStyle("color", "red"); + // Title goes red if form has been modified. + myForm.header.setStyle('color', 'red'); } } -});
Parameters:
  • events : Object
    The event name to bubble, or an Array of event names.
Returns:
  • void
Observable expandAllGroups() +});
Parameters:Returns:
Observable expandAllGroups() : void
Expands all grouped rows.
Expands all grouped rows.
Parameters:
  • None.
Returns:
  • void
GroupingView findCellIndexHTMLElement el ) : @@ -283,7 +283,9 @@ access the required target more quickly.

See also findRowIndex

Return the index of the grid column which contains the passed HTMLElement.

See also findRowIndex
Parameters:Returns:
GridView findRowHTMLElement el ) : - HTMLElement
Return the HtmlElement representing the grid row which contains the passed element.
Return the HtmlElement representing the grid row which contains the passed element.
Parameters:
  • el : HTMLElement
    The target HTMLElement
Returns:
  • HTMLElement
    The row element, or null if the target element is not within a row of this GridView.
GridView findRowIndexHTMLElement el ) + HTMLElement
Return the HtmlElement representing the grid row which contains the passed element.
Return the HtmlElement representing the grid row which contains the passed element.
Parameters:
  • el : HTMLElement
    The target HTMLElement
Returns:
  • HTMLElement
    The row element, or null if the target element is not within a row of this GridView.
GridView findRowBodyHTMLElement el ) + : + HTMLElement
Return the HtmlElement representing the grid row body which contains the passed element.
Return the HtmlElement representing the grid row body which contains the passed element.
Parameters:
  • el : HTMLElement
    The target HTMLElement
Returns:
  • HTMLElement
    The row body element, or null if the target element is not within a row body of this GridView.
GridView findRowIndexHTMLElement el ) : Number
Return the index of the grid row which contains the passed HTMLElement. See also findCellIndex

Return the index of the grid row which contains the passed HTMLElement.

@@ -363,7 +365,9 @@ after the
Toggles all groups if no value is passed, otherwise sets the expanded state of all groups to the value passed.
Toggles all groups if no value is passed, otherwise sets the expanded state of all groups to the value passed.
Parameters:
  • expanded : Boolean
    (optional)
Returns:
  • void
GroupingView toggleGroupString groupId[Boolean expanded] ) : - void
Toggles the specified group if no value is passed, otherwise sets the expanded state of the group to the value passed...
Toggles the specified group if no value is passed, otherwise sets the expanded state of the group to the value passed.
Parameters:
  • groupId : String
    The groupId assigned to the group (see getGroupId)
  • expanded : Boolean
    (optional)
Returns:
  • void
GroupingView unString eventNameFunction handler[Object scope] ) + void
Toggles the specified group if no value is passed, otherwise sets the expanded state of the group to the value passed...
Toggles the specified group if no value is passed, otherwise sets the expanded state of the group to the value passed.
Parameters:
  • groupId : String
    The groupId assigned to the group (see getGroupId)
  • expanded : Boolean
    (optional)
Returns:
  • void
GroupingView toggleRowIndexNumber rowIndex[Boolean expanded] ) + : + void
Toggle the group that contains the specific row.
Toggle the group that contains the specific row.
Parameters:
  • rowIndex : Number
    The row inside the group
  • expanded : Boolean
    (optional)
Returns:
  • void
GroupingView unString eventNameFunction handler[Object scope] ) : void
Removes an event handler (shorthand for removeListener.)
Removes an event handler (shorthand for removeListener.)
Parameters:
  • eventName : String
    The type of event the handler was associated with.
  • handler : Function
    The handler to remove. This must be a reference to the function passed into the addListener call.
  • scope : Object
    (optional) The scope originally specified for the handler.
Returns:
  • void
Observable

Public Events

EventDefined By