RequestCellFormatCallback Function
Description
Callback function for requests expecting a TableCellFormat value.
Syntax
function(<TableCellFormat> format)Examples
The following example demonstrates RequestCellFormatCallback in a practical document-editing workflow. Callback function for requests expecting a TableCellFormat value.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
function requestCellFormatCallback(format) {
console.log("format:", format);
}
function useRequestCellFormatCallback(tableCell) {
tableCell.getCellFormat(requestCellFormatCallback, onTxError);
}