Class: DataTableRowProxy¶
Hierarchy¶
-
DataTableRowProxy
Implements¶
Summary¶
Constructors¶
Properties¶
Class Properties¶
Currently none in this class.
Inherited Properties¶
Accessors¶
Class Accessors¶
Currently none in this class.
Inherited Accessors¶
Methods¶
Class Methods¶
Inherited Methods¶
Constructors¶
constructor¶
+ new DataTableRowProxy(context: IContext): DataTableRowProxy
Overrides RowProxy.constructor
Parameters:
| Name | Type |
|---|---|
context |
IContext |
Returns: DataTableRowProxy
Methods¶
getCell¶
▸ getCell(rowOrColIndex: number, columnIndex: number): IDataTableCellProxy
Implementation of IDataTableRowProxy
Get a specific cell from row given indexes. This method accepts 2 calling method, either passing in the columnIndex ONLY or passing in both row and column indexes.
getCell(colIndex):
- If only column index is passed in, the first parameter will be treated as the column index used to retrieve the DataTableCellProxy, and the second parameter must be undefined.
deprecated getCell(rowIndex, colIndex):
-
If both indexes are used in the order of (rowIndex, columnIndex), the first parameter will be treated as the row index, and the second parameter must be the column index.
-
Implemented to allow backwards compatibility.
Parameters:
| Name | Type | Description |
|---|---|---|
rowOrColIndex |
number | Can either be row index or column index, depending on calling method. |
columnIndex |
number | Either column index or undefined. |
Returns: IDataTableCellProxy
returns the DataTableCellProxy