tbl_obj_delete Callback Type
Function prototype:
function funcname (doc, target, op)
tbl_obj_delete is called before a table, grid, column, or row is deleted.
Arguments
• doc is the identifier of the document containing target.
• target is the table object ID (toid) of the grid, column or row being deleted.
• op is the function callback operation. Callbacks are called twice in succession with op specifying the stage of callback operation.
1. op == 1 first call — The returned argument specifies whether the execution should continue or be stopped:
▪ 0 — Continue callback processing.
▪ -1 — Stop further callback processing.
2. op == 2 second call — Occurs unless the processing was stopped during the first call. The returned argument allows or prevents basic Arbortext Editor processing after all callbacks have been called:
▪ 0 — Basic Arbortext Editor processing allowed.
▪ -1 — Basic Arbortext Editor processing prevented.
|
tbl_obj_delete is called only once per delete operation. For example, if a table is deleted, tbl_obj_delete will not be called for each grid, column, or row within the table.
|