com.extjs.gxt.ui.client.widget.table
Class TableView

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.table.TableView

Deprecated. see Grid

public class TableView
extends java.lang.Object

This class encapsulates the user interface of a Table.

When using custom cell renderers or nested widgets within cells it may be necessary to increase the cell selector depth to account for the new nested elements within each cell. For example, if nesting a table structure in a cell, the selector depth should be increased to at least a value of 10 (@see setCellSelectorDepth(int).


Constructor Summary
TableView()
          Deprecated.  
 
Method Summary
 com.google.gwt.user.client.Element findCell(com.google.gwt.user.client.Element elem)
          Deprecated. Returns the cell.
 int findCellIndex(com.google.gwt.user.client.Element elem)
          Deprecated. Returns the elements cell index.
 com.google.gwt.user.client.Element findRow(com.google.gwt.user.client.Element el)
          Deprecated. Returns the row element.
 int findRowIndex(com.google.gwt.user.client.Element elem)
          Deprecated. Reutrns the row index of the element.
 int getCellSelectorDepth()
          Deprecated. Returns the cell selector depth.
 El getDataEl()
          Deprecated. Returns the data element.
 int getRowSelectorDepth()
          Deprecated. Returns the row selector depth.
 El getScrollEl()
          Deprecated. Returns the scroll element.
 void resize()
          Deprecated. Adjusts the table to its current size.
 void setCellSelectorDepth(int cellSelectorDepth)
          Deprecated. The number of levels to search for cells in event delegation (defaults to 10).
 void setRowSelectorDepth(int rowSelectorDepth)
          Deprecated. The number of levels to search for rows in event delegation (defaults to 10).
 void sort(int index, Style.SortDir direction)
          Deprecated. Sorts the table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableView

public TableView()
Deprecated. 
Method Detail

findCell

public com.google.gwt.user.client.Element findCell(com.google.gwt.user.client.Element elem)
Deprecated. 
Returns the cell.

Parameters:
elem - the cell element or any child element
Returns:
the cell or null if not match

findCellIndex

public int findCellIndex(com.google.gwt.user.client.Element elem)
Deprecated. 
Returns the elements cell index.

Parameters:
elem - the row element
Returns:
the cell index or -1 if not match

findRow

public com.google.gwt.user.client.Element findRow(com.google.gwt.user.client.Element el)
Deprecated. 
Returns the row element.

Parameters:
el - the row element or any child element
Returns:
the matching row or null if no match

findRowIndex

public int findRowIndex(com.google.gwt.user.client.Element elem)
Deprecated. 
Reutrns the row index of the element.

Parameters:
elem - the row element or any child element
Returns:
the row index or -1 if not found

getCellSelectorDepth

public int getCellSelectorDepth()
Deprecated. 
Returns the cell selector depth.

Returns:
the cell selector depth

getDataEl

public El getDataEl()
Deprecated. 
Returns the data element.

Returns:
the data element

getRowSelectorDepth

public int getRowSelectorDepth()
Deprecated. 
Returns the row selector depth.

Returns:
the row selector depth

getScrollEl

public El getScrollEl()
Deprecated. 
Returns the scroll element.

Returns:
the scroll element

resize

public void resize()
Deprecated. 
Adjusts the table to its current size.


setCellSelectorDepth

public void setCellSelectorDepth(int cellSelectorDepth)
Deprecated. 
The number of levels to search for cells in event delegation (defaults to 10).

Parameters:
cellSelectorDepth - the cell selector depth

setRowSelectorDepth

public void setRowSelectorDepth(int rowSelectorDepth)
Deprecated. 
The number of levels to search for rows in event delegation (defaults to 10).

Parameters:
rowSelectorDepth - the row selector depth

sort

public void sort(int index,
                 Style.SortDir direction)
Deprecated. 
Sorts the table.

Parameters:
index - the column to sort
direction - the sort direction