X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.grid.GridView.html diff --git a/docs/output/Ext.grid.GridView.html b/docs/output/Ext.grid.GridView.html index b2864875..e1e365fd 100644 --- a/docs/output/Ext.grid.GridView.html +++ b/docs/output/Ext.grid.GridView.html @@ -1,4 +1,5 @@ -
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, PivotGridView |
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
@@ -16,11 +17,15 @@ are available (defaults to ''). This value will be used to update the this.mainBody.update('<div class="x-grid-empty">' + this.emptyText + '</div>');
Defaults to false. Specify true to have the column widths re-proportioned +at all times.
+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 be resized -to fit the grid width. See autoFill also.
Columns which are configured with fixed: true
are omitted from being resized.
See autoFill.
.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 | |
---|---|---|
Ext.Template : masterTpl The master template to use when rendering the GridView. Has a default template | GridView | |
bodyTpl : Ext.Template The template to use when rendering the body. Has a default template | GridView | |
cellTpl : Ext.Template The template to use to render each cell. Has a default template | GridView | |
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. This will only be present:
| GridView | |
mainBody : Ext.Element Read-only. The GridView's body Element which encapsulates all rows in the Grid.
+ | GridView | |
headerTpl : Ext.Template The template to use when rendering headers. Has a default template | 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|String o , string Optional. )
@@ -204,7 +209,7 @@ See also 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:
| GridView | |
findRowIndex( HTMLElement el )
:
NumberReturn 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 findCellIndexReturn the index of the grid row which contains the passed HTMLElement.
See also findCellIndex Parameters:
| GridView | |
fireEvent( String eventName , Object... args )
:
BooleanFires the specified event with the passed parameters (minus the event name).
@@ -216,7 +221,9 @@ by calling Focuses the specified row. Focuses the specified row. Parameters:
| GridView | |
getCell( Number row , Number col )
:
- HtmlElementReturns the grid's <td> HtmlElement at the specified coordinates. Returns the grid's <td> HtmlElement at the specified coordinates. Parameters:
| GridView | |
getHeaderCell( Number index )
+ HtmlElementReturns the grid's <td> HtmlElement at the specified coordinates. Returns the grid's <td> HtmlElement at the specified coordinates. Parameters:
| GridView | |
getGridInnerWidth()
+ :
+ Number Returns the total internal width available to the grid, taking the scrollbar into account Returns the total internal width available to the grid, taking the scrollbar into account Parameters:
| GridView | |
getHeaderCell( Number index )
:
HtmlElementReturn the <td> HtmlElement which represents the Grid's header cell for the specified column index. Return the <td> HtmlElement which represents the Grid's header cell for the specified column index. Parameters:
| GridView | |
getRow( Number index )
:
@@ -251,7 +258,11 @@ The following property will be passed in, and may be appended to:
store : StoreThe Ext.data.Store this grid is bound to
| GridView | |
hasListener( String eventName )
+store : StoreThe Ext.data.Store this grid is bound to
| GridView | |
handleHdMenuClickDefault( Ext.menu.BaseItem item )
+ :
+ voidCalled by handleHdMenuClick if any button except a sort ASC/DESC button was clicked. The default implementation provi... Called by handleHdMenuClick if any button except a sort ASC/DESC button was clicked. The default implementation provides
+the column hide/show functionality based on the check state of the menu item. A different implementation can be provided
+if needed. Parameters:
| GridView | |
hasListener( String eventName )
:
BooleanChecks to see if this object has any listeners for a specified event Checks to see if this object has any listeners for a specified event Parameters:
| Observable | |
on( String eventName , Function handler , [Object scope ], [Object options ] )
:
|