TX Text Control .NET Server

RequestTableCellCallback Function

Function

Description

Callback function for requests expecting a TableCell object.

Syntax

function(<TableCell> cell)

Examples

The following example demonstrates RequestTableCellCallback in a practical document-editing workflow. Callback function for requests expecting a TableCell object.

function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

function requestTableCellCallback(cell) {
    console.log("cell:", cell);
}

function useRequestTableCellCallback(tableCells) {
    tableCells.getItemAtInputPosition(requestTableCellCallback, onTxError);
}