X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..ddde20c4d4ac6a8d53de079761155de813845b3c:/docs/output/Ext.grid.GridView.html diff --git a/docs/output/Ext.grid.GridView.html b/docs/output/Ext.grid.GridView.html index 0d807016..b2864875 100644 --- a/docs/output/Ext.grid.GridView.html +++ b/docs/output/Ext.grid.GridView.html @@ -1,14 +1,15 @@ -
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 model of a Grid is held in an Ext.data.Store.
Config Options | Defined By | |
---|---|---|
autoFill : Boolean Defaults to false. Specify true to have the column widths re-proportioned
-when the grid is initially rendered. The ... Defaults to false. Specify true to have the column widths re-proportioned
-when the grid is initially rendered. The
+when the grid is initially rendered. The
+... Defaults to false. Specify true to have the column widths re-proportioned
+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. | GridView | |
cellSelector : String The selector used to find cells internally (defaults to 'td.x-grid3-cell') | GridView | |
cellSelectorDepth : Number The number of levels to search for cells in event delegation (defaults to 4) | GridView | |
columnsText : String The text displayed in the "Columns" menu item (defaults to "Columns") | GridView | |
deferEmptyText : Boolean | GridView | |
cellSelector : String The selector used to find cells internally (defaults to 'td.x-grid3-cell') | GridView | |
cellSelectorDepth : Number The number of levels to search for cells in event delegation (defaults to 4) | GridView | |
columnsText : String The text displayed in the 'Columns' menu item (defaults to 'Columns') | GridView | |
deferEmptyText : Boolean True to defer emptyText being applied until the store's
first load (defaults to true). | GridView | |
emptyText : String Default text (html tags are accepted) to display in the grid body when no rows
are available (defaults to ''). This v... Default text (html tags are accepted) to display in the grid body when no rows
are available (defaults to ''). This value will be used to update the mainBody:
@@ -19,9 +20,9 @@ at all times. The initially configured wi... Defaults to
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. | GridView | |
headersDisabled : Boolean True to disable the grid column headers (defaults to false).
+to fit the grid width. See autoFill also. | GridView | |
headersDisabled : Boolean True to disable the grid column headers (defaults to false).
Use the ColumnModel menuDisabled
-config to disable the ... True to disable the grid column headers (defaults to false).
+config to disable the m... True to disable the grid column headers (defaults to false).
Use the ColumnModel menuDisabled
config to disable the menu for individual columns. While this config is true the
following will be disabled:
| 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
-(defaults to 19 pixels). | GridView | |
selectedRowClass : String The CSS class applied to a selected row (defaults to "x-grid3-row-selected"). An
-example overriding the default styli... The CSS class applied to a selected row (defaults to "x-grid3-row-selected"). An
+}); | 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
+example overriding the default styli... The CSS class applied to a selected row (defaults to 'x-grid3-row-selected'). An
example overriding the default styling:
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:
| 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
+ } | 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 +104,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). |