X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/output/Ext.grid.GridView.html?ds=inline diff --git a/docs/output/Ext.grid.GridView.html b/docs/output/Ext.grid.GridView.html index 0d807016..2c3fc107 100644 --- a/docs/output/Ext.grid.GridView.html +++ b/docs/output/Ext.grid.GridView.html @@ -1,4 +1,4 @@ -
Observable 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. +
Observable 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 @@ -8,7 +8,7 @@ when the grid is initially rendered. The initially configured width of each column will be adjusted to fit the grid width and prevent horizontal scrolling. If columns are later resized (manually or programmatically), the other columns in the grid will not be resized to fit the grid width. -See forceFit also.
.x-grid3-row-selected {background-color: yellow;}
Note that this only controls the row, and will not do anything for the text inside it. To style inner
facets (like text) use something like:
.x-grid3-row-selected .x-grid3-cell-inner {
color: #FFCC00;
- }
Property | Defined By | |
---|---|---|
dragZone : Ext.grid.GridDragZone A customized implementation of a DragZone which provides default implementations
+ } | GridView | |
sortAscText : String The text displayed in the 'Sort Ascending' menu item (defaults to 'Sort Ascending') | GridView | |
sortClasses : Array The CSS classes applied to a header when it is sorted. (defaults to ['sort-asc', 'sort-desc']) | GridView | |
sortDescText : String The text displayed in the 'Sort Descending' menu item (defaults to 'Sort Descending') | GridView |
Property | Defined By | |
---|---|---|
dragZone : Ext.grid.GridDragZone A customized implementation of a DragZone which provides default implementations
of the template methods of DragZone ... A customized implementation of a DragZone which provides default implementations of the template methods of DragZone to enable dragging of the selected rows of a GridPanel. See Ext.grid.GridDragZone for details. @@ -101,9 +103,11 @@ See | GridView | |
mainBody : Ext.Element Read-only. The GridView's body Element which encapsulates all rows in the Grid.
This Element is only available after ... Read-only. The GridView's body Element which encapsulates all rows in the Grid.
This Element is only available after the GridPanel has been rendered. | GridView |
Method | Defined By | |
---|---|---|
GridView( Object config )
- Parameters:
| GridView | |
addEvents( Object object )
+ Parameters:
| GridView | |
addEvents( Object|String o , string Optional. )
:
- voidUsed to define events on this Observable Used to define events on this Observable Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
+ voidAdds the specified events to the list of events which this Observable may fire. Adds the specified events to the list of events which this Observable may fire. Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to this object. Appends an event handler to this object. Parameters:
| Observable | |
enableBubble( Object events )
+'click' : this.onClick,
+'mouseover' : this.onMouseOver,
+'mouseout' : this.onMouseOut,
+ scope: this
+});Returns:
| Observable | |
enableBubble( String/Array events )
:
- voidUsed to enable bubbling of events Used to enable bubbling of events Parameters:
| Observable | |
findCellIndex( HTMLElement el )
+ voidEnables 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
+ This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default +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:
Parameters:
| Observable | |
findCellIndex( HTMLElement el )
:
- TheReturn the index of the grid column which contains the passed HTMLElement.
+ 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 findRowIndexParameters:
| GridView | |
findRow( HTMLElement el )
+See also findRowIndexParameters:
| GridView | |
findRow( HTMLElement el )
+ :
+ HTMLElementReturn the HtmlElement representing the grid row which contains the passed element. Return the HtmlElement representing the grid row which contains the passed element. Parameters:
| GridView | |
findRowBody( HTMLElement el )
:
- TheReturn the HtmlElement representing the grid row which contains the passed element. Return the HtmlElement representing the grid row which contains the passed element. Parameters:
| GridView | |
findRowIndex( HTMLElement el )
+ HTMLElementReturn 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:
| GridView | |
findRowIndex( HTMLElement el )
:
- TheReturn the index of the grid row which contains the passed HTMLElement.
+ 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. -See also findCellIndexParameters:
| GridView | |
fireEvent( String eventName , Object... args )
+See also findCellIndexParameters:
| GridView | |
fireEvent( String eventName , Object... args )
:
BooleanFires the specified event with the passed parameters (minus the event name).
An event may be set to bubble up an Obse... Fires the specified event with the passed parameters (minus the event name). |