X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.grid.GridView.html?ds=sidebyside diff --git a/docs/output/Ext.grid.GridView.html b/docs/output/Ext.grid.GridView.html index 8296a68a..917197ba 100644 --- a/docs/output/Ext.grid.GridView.html +++ b/docs/output/Ext.grid.GridView.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  GridView

Class Ext.grid.GridView

Package:Ext.grid
Defined In:GridView.js
Class:GridView
Subclasses:GroupingView, BufferView
Extends:Observable

This class encapsulates the user interface of an Ext.grid.GridPanel. +

Observable
  GridView

Class Ext.grid.GridView

Package:Ext.grid
Defined In:GridView.js
Class:GridView
Subclasses:GroupingView
Extends:Observable

This class encapsulates the user interface of an Ext.grid.GridPanel. Methods of this class may be used to access user interface elements to enable special display effects. Do not change the DOM structure of the user interface.

This class does not provide ways to manipulate the underlying data. The data @@ -82,7 +82,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 @@ -158,7 +158,7 @@ Or a shorthand syntax:
'mouseover' : this.onMouseOver, 'mouseout' : this.onMouseOut, scope: this -});
Returns:
  • void
Observable enableBubbleObject events ) +});Returns:Observable 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 @@ -167,13 +167,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');
         }
@@ -188,17 +188,19 @@ 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 findCellIndexHTMLElement el ) +});
Parameters:Returns:
Observable findCellIndexHTMLElement el ) : Number
Return the index of the grid column which contains the passed HTMLElement. See also findRowIndex

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

See also findRowIndex
Parameters:
  • el : HTMLElement
    The target element
Returns:
  • Number
    The column index, or <b>false</b> if the target element is not within a row of this GridView.
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.