X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/d41dc04ad17d1d9125fb2cf72db2b4782dbe3a8c..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/output/Ext.grid.GridView.html diff --git a/docs/output/Ext.grid.GridView.html b/docs/output/Ext.grid.GridView.html deleted file mode 100644 index 71e87cbb..00000000 --- a/docs/output/Ext.grid.GridView.html +++ /dev/null @@ -1,842 +0,0 @@ -
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:
-
-
|
- Observable | -
- |
-
- findRow( Element el ) : The
-
- 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:
-
-
|
- GridView | -
- |
-
- findRowIndex( Element el ) : The
-
- Return the index of the grid row which contains the passed element.
-
- Return the index of the grid row which contains the passed element.
-
- Parameters:
-
-
|
- GridView | -
- |
-
- fireEvent( String eventName , Object... args ) : Boolean
-
- Fires the specified event with the passed parameters (minus the event name).
-
- Fires the specified event with the passed parameters (minus the event name).
-
- Parameters:
-
-
|
- Observable | -
- |
-
- focusCell( Number row , Number col ) : void
-
- Focuses the specified cell.
-
- Focuses the specified cell.
-
- Parameters:
-
-
|
- GridView | -
- |
-
- focusRow( Number row ) : void
-
- Focuses the specified row.
-
- Focuses the specified row.
-
- Parameters:
-
-
|
- GridView | -
- |
-
- getCell( Number row , Number col ) : HtmlElement
-
- Returns the grid's <TD> HtmlElement at the specified coordinates.
-
- Returns the grid's <TD> HtmlElement at the specified coordinates.
-
- Parameters:
-
-
|
- GridView | -
- |
-
- getHeaderCell( Number index ) : HtmlElement
-
- Return 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 ) : HtmlElement
-
- Return the <TR> HtmlElement which represents a Grid row for the specified index.
-
- Return the <TR> HtmlElement which represents a Grid row for the specified index.
-
- Parameters:
-
-
|
- GridView | -
- |
-
- getRowClass( Record record , Number index , Object rowParams , Store store ) : String
-
- Override this function to apply custom CSS classes to rows during rendering. You can also supply custom
-parameters t...
-
- Override this function to apply custom CSS classes to rows during rendering. You can also supply custom
-parameters to the row template for the current row to customize how it is rendered using the rowParams
-parameter. This function should return the CSS class name (or empty string '' for none) that will be added
-to the row's wrapping div. To apply multiple class names, simply return them space-delimited within the string
-(e.g., 'my-class another-class').
-
- Parameters:
-
-
|
- GridView | -
- |
-
- hasListener( String eventName ) : Boolean
-
- Checks 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 ] ) : void
-
- Appends an event handler to this element (shorthand for addListener)
-
- Appends an event handler to this element (shorthand for addListener)
-
- Parameters:
-
-
|
- Observable | -
- |
-
- purgeListeners() : void
-
- Removes all listeners for this object
-
- Removes all listeners for this object
-
- Parameters:
-
-
|
- Observable | -
- |
-
- refresh( [Boolean headersToo ] ) : void
-
- Refreshs the grid UI
-
- Refreshs the grid UI
-
- Parameters:
-
-
|
- GridView | -
- |
-
- relayEvents( Object o , Array events ) : void
-
- Relays 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 ] ) : void
-
- Removes a listener
-
- Removes a listener
-
- Parameters:
-
-
|
- Observable | -
- |
-
- resumeEvents() : void
-
- Resume firing events. (see suspendEvents)
-
- Resume firing events. (see suspendEvents)
-
- Parameters:
-
-
|
- Observable | -
- |
-
- scrollToTop() : void
-
- Scrolls the grid to the top
-
- Scrolls the grid to the top
-
- Parameters:
-
-
|
- GridView | -
- |
-
- suspendEvents() : void
-
- Suspend the firing of all events. (see resumeEvents)
-
- Suspend the firing of all events. (see resumeEvents)
-
- Parameters:
-
-
|
- Observable | -
- |
-
- un( String eventName , Function handler , [Object scope ] ) : void
-
- Removes a listener (shorthand for removeListener)
-
- Removes a listener (shorthand for removeListener)
-
- Parameters:
-
-
|
- Observable | -