Class YAHOO.ext.grid.GridView
Public Properties
This class has no public properties.
Public Methods
|
GridView() |
GridView |
|
|
autoSizeColumn(Number colIndex , Boolean forceMinSize ) : void |
GridView |
Autofit a column to it's content. |
|
autoSizeColumns() : void |
GridView |
Autofits all columns to their content and then expands to fit any extra space in the grid |
|
ensureVisible(Number/HTMLElement row , Boolean disableDelay ) : void |
GridView |
Scrolls the specified row into view. This call is automatically buffered (delayed), to disable
the delay, pass true f... |
|
fitColumns() : void |
GridView |
Autofits all columns to the grid's width proportionate with their current size |
|
focusRow(Number/HTMLElement row ) : void |
GridView |
Focuses the specified row. The preferred way to scroll to a row is ensureVisible. |
|
getCellAtPoint(Number x , Number y ) : Array |
GridView |
Returns the rowIndex/columnIndex of the cell found at the passed page coordinates |
|
setCSSStyle(Number colIndex , String name , String value ) : void |
GridView |
Set a css style for a column dynamically. |
Public Events
This class has no public events.
Constructor Details
GridView
public function GridView()
Method Details
autoSizeColumn
public function autoSizeColumn(Number colIndex
, Boolean forceMinSize
)
Autofit a column to it's content.
This method is defined by GridView.
autoSizeColumns
public function autoSizeColumns()
Autofits all columns to their content and then expands to fit any extra space in the grid
This method is defined by GridView.
ensureVisible
public function ensureVisible(Number/HTMLElement row
, Boolean disableDelay
)
Scrolls the specified row into view. This call is automatically buffered (delayed), to disable
the delay, pass true for disableDelay.
This method is defined by GridView.
fitColumns
public function fitColumns()
Autofits all columns to the grid's width proportionate with their current size
This method is defined by GridView.
focusRow
public function focusRow(Number/HTMLElement row
)
Focuses the specified row. The preferred way to scroll to a row is
ensureVisible.
This method is defined by GridView.
getCellAtPoint
public function getCellAtPoint(Number x
, Number y
)
Returns the rowIndex/columnIndex of the cell found at the passed page coordinates
Parameters:
Returns:
Array
[rowIndex, columnIndex]
This method is defined by GridView.
setCSSStyle
public function setCSSStyle(Number colIndex
, String name
, String value
)
Set a css style for a column dynamically.
Parameters:
colIndex
: NumberThe index of the column
name
: StringThe css property name
value
: StringThe css value
Returns:
This method is defined by GridView.
yui-ext - Copyright © 2006 Jack Slocum. |
Yahoo! UI - Copyright © 2006 Yahoo! Inc.
All rights reserved.