Roo.util.Observable Roo.grid.GridView
Package: | Roo.grid |
Defined In: | Roo/grid/GridView.js. |
Class: | GridView |
Extends: | Roo.util.Observable |
Options | Defined By | |
---|---|---|
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable |
Method | Defined By | |
---|---|---|
new Roo.grid.GridView
(Object config)
Create a new Roo.grid.GridView
Create a new Roo.grid.GridView
|
||
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
Roo.grid.GridView | ||
autoSizeColumns
()
Autofits all columns to their content and then expands to fit any extra space in the grid
Autofits all columns to their content and then expands to fit any extra space in the grid
|
Roo.grid.GridView | |
Roo.grid.GridView | ||
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
fitColumns
(Boolean reserveScrollSpace)
Autofits all columns to the grid's width proportionate with their current size
Autofits all columns to the grid's width proportionate with their current size
|
Roo.grid.GridView | |
Roo.grid.GridView | ||
focusRow
(Number row)
Focuses the specified row.
Focuses the specified row.
|
Roo.grid.GridView | |
getFooterPanel
(Boolean doShow)
:
Gets a panel in the footer of the grid that can be used for toolbars etc.
Gets a panel in the footer of the grid that can be used for toolbars etc.
After modifying the contents of this panel a call to grid.autoSize() may be required to register any changes in size.
|
Roo.grid.GridView | |
getHeaderPanel
(Boolean doShow)
:
Gets a panel in the header of the grid that can be used for toolbars etc.
Gets a panel in the header of the grid that can be used for toolbars etc.
After modifying the contents of this panel a call to grid.autoSize() may be required to register any changes in size.
|
Roo.grid.GridView | |
Roo.util.Observable | ||
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
refresh
(Boolean headersToo)
Refreshes the grid
Refreshes the grid
|
Roo.grid.GridView | |
Roo.util.Observable | ||
rowClass
(Record record, Number index)
Override this function to apply custom css classes to rows during rendering
Override this function to apply custom css classes to rows during rendering
|
Roo.grid.GridView | |
scrollToTop
()
Scrolls the grid to the top
Scrolls the grid to the top
|
Roo.grid.GridView | |
Roo.util.Observable |