Skip to content

Interface: IDataTableRowProxy

A designer-facing interface that provides access to DataTableRow.

Hierarchy

Summary

Properties

Class Properties

Currently none in this class.

Inherited Properties

Methods

Class Methods

Inherited Methods

Methods

getCell

Call Signature

getCell(columnIndex): IDataTableCellProxy

Get a specific cell from the current row given a column index.

Parameters
columnIndex

number

The column index.

Returns

IDataTableCellProxy

Example
// Get cell at column 0 from the current row
const dataTableRowProxy = context;
const dataTableCell = dataTableRowProxy.getCell(0);
console.log(`Data table cell value: ${dataTableCell.getValue()}`);

Call Signature

getCell(rowIndex, columnIndex): IDataTableCellProxy

Parameters
rowIndex

number

The row index.

columnIndex

number

The column index.

Returns

IDataTableCellProxy

Deprecated

Use getCell(columnIndex) instead. Passing row index is no longer supported. Implemented to allow backwards compatibility.