X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..76cb34406ceaf9681a76e13b531d7eafa483ad88:/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 71e87cbb..0d807016 100644 --- a/docs/output/Ext.grid.GridView.html +++ b/docs/output/Ext.grid.GridView.html @@ -1,842 +1,255 @@ -
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
- True to auto expand the columns to fit the grid when the grid is created.
- |
- GridView | -
- |
-
- cellSelector : String
- The selector used to find cells internally
- |
- GridView | -
- |
-
- cellSelectorDepth : Number
- The number of levels to search for cells in event delegation (defaults to 4)
- |
- GridView | -
- |
-
- deferEmptyText : Boolean
- True to defer emptyText being applied until the store's first load
- |
- GridView | -
- |
-
- emptyText : String
- Default text to display in the grid body when no rows are available (defaults to '').
- |
- GridView | -
- |
-
- enableRowBody : Boolean
-
- True to add a second TR element per row that can be used to provide a row body that spans beneath the data row. Use t...
-
- True to add a second TR element per row that can be used to provide a row body that spans beneath the data row. Use the getRowClass method's rowParams config to customize the row body.
- |
- GridView | -
- |
-
- forceFit : Boolean
-
- True to auto expand/contract the size of the columns to fit the grid width and prevent horizontal scrolling. This opt...
-
- True to auto expand/contract the size of the columns to fit the grid width and prevent horizontal scrolling. This option overrides any (@link Ext.grid.ColumnModel#width width} settings in the ColumnModel.
- |
- GridView | -
- |
-
- listeners : Object
-
- (optional) A config object containing one or more event handlers to be added to this object during initialization. Th...
-
- (optional) A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the addListener example for attaching multiple handlers at once.
- |
- Observable | -
- |
-
- rowSelector : String
- The selector used to find rows internally
- |
- GridView | -
- |
-
- rowSelectorDepth : Number
- The number of levels to search for rows in event delegation (defaults to 10)
- |
- GridView | -
Property | -Defined By | -|
---|---|---|
- |
-
- columnsText : String
- The text displayed in the "Columns" menu item
- |
- GridView | -
- |
-
- dragZone : Ext.grid.GridDragZone
- This |
- GridView | -
- |
-
- mainBody : Ext.Element
-
- The GridView's body Element which encapsulates all rows in the Grid. Element. Read-only.
-This Element is only availab...
-
- The GridView's body Element which encapsulates all rows in the Grid. Element. Read-only.
-
- This Element is only available after the GridPanel has been rendered. |
- GridView | -
- |
-
- scrollOffset : Number
- The amount of space to reserve for the scrollbar (defaults to 19 pixels)
- |
- GridView | -
- |
-
- sortAscText : String
- The text displayed in the "Sort Ascending" menu item
- |
- 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
- |
- GridView | -
Method | -Defined By | -||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
- |
-
- GridView( Object config )
-
-
-
-
-
- Parameters:
-
-
|
- GridView | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- |
-
- addEvents( Object object ) : void
-
- Used to define events on this Observable
-
- Used to define events on this Observable
-
- Parameters:
-
-
|
- Observable | -|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- |
-
- addListener( String eventName , Function handler , [Object scope ], [Object options ] ) : void
- Appends an event handler to this component
-
- Appends an event handler to this component
- Parameters:
-
\ No newline at end of file
+(e.g., 'my-class another-class'). Example usage:
+
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 ] )
+ :
+ voidAppends an event handler to this object (shorthand for addListener.) Appends an event handler to this object (shorthand for addListener.) Parameters:
| Observable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
purgeListeners()
+ :
+ void Removes all listeners for this object Removes all listeners for this object Parameters:
| Observable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
refresh( [Boolean headersToo ] )
+ :
+ voidRefreshs the grid UI Refreshs the grid UI Parameters:
| GridView | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
relayEvents( Object o , Array events )
+ :
+ voidRelays selected events from the specified Observable as if the events were fired by this. Relays selected events from the specified Observable as if the events were fired by this. Parameters:
| Observable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
removeListener( String eventName , Function handler , [Object scope ] )
+ :
+ voidRemoves an event handler. Removes an event handler. Parameters:
| Observable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
resumeEvents()
+ :
+ void Resume firing events. (see suspendEvents)
+If events were suspended using the queueSuspended parameter, then all
+event... Resume firing events. (see suspendEvents)
+If events were suspended using the queueSuspended parameter, then all
+events fired during event suspension will be sent to any listeners now. Parameters:
| Observable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
scrollToTop()
+ :
+ void Scrolls the grid to the top Scrolls the grid to the top Parameters:
| GridView | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
suspendEvents( Boolean queueSuspended )
+ :
+ voidSuspend the firing of all events. (see resumeEvents) Suspend the firing of all events. (see resumeEvents) Parameters:
| Observable | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
un( String eventName , Function handler , [Object scope ] )
+ :
+ voidRemoves an event handler (shorthand for removeListener.) Removes an event handler (shorthand for removeListener.) Parameters:
| Observable |
Event | Defined By | |
---|---|---|
beforerefresh :
+ ( Ext.grid.GridView view )
+ Internal UI Event. Fired before the view is refreshed. Internal UI Event. Fired before the view is refreshed. Listeners will be called with the following arguments:
| GridView | |
beforerowremoved :
+ ( Ext.grid.GridView view , Number rowIndex , Ext.data.Record record )
+ Internal UI Event. Fired before a row is removed. Internal UI Event. Fired before a row is removed. Listeners will be called with the following arguments:
| GridView | |
beforerowsinserted :
+ ( Ext.grid.GridView view , Number firstRow , Number lastRow )
+ Internal UI Event. Fired before rows are inserted. Internal UI Event. Fired before rows are inserted. Listeners will be called with the following arguments:
| GridView | |
refresh :
+ ( Ext.grid.GridView view )
+ Internal UI Event. Fired after the GridView's body has been refreshed. Internal UI Event. Fired after the GridView's body has been refreshed. Listeners will be called with the following arguments:
| GridView | |
rowremoved :
+ ( Ext.grid.GridView view , Number rowIndex , Ext.data.Record record )
+ Internal UI Event. Fired after a row is removed. Internal UI Event. Fired after a row is removed. Listeners will be called with the following arguments:
| GridView | |
rowsinserted :
+ ( Ext.grid.GridView view , Number firstRow , Number lastRow )
+ Internal UI Event. Fired after rows are inserted. Internal UI Event. Fired after rows are inserted. Listeners will be called with the following arguments:
| GridView | |
rowupdated :
+ ( Ext.grid.GridView view , Number firstRow , Ext.data.record record )
+ Internal UI Event. Fired after a row has been updated. Internal UI Event. Fired after a row has been updated. Listeners will be called with the following arguments:
| GridView |