Javascript: TableCell.getRow Method
Description
Gets the table cell's row number.
Syntax
<void> TableCell.getRow(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])Parameters
| Parameter | Description |
|---|---|
| callback | Receives the cell's row number. |
| errorCallback | Optional. Is called when the operation failed with an error. |
Examples
The following example demonstrates TableCell.getRow in a practical document-editing workflow. It gets the table cell's row number.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
function inspectRow(tableCell) {
tableCell.getRow(
function(result) {
console.log("get row result:", result);
},
onTxError
);
}