DataConnections.unbind Method
Removes a runtime binding and cancels its request. Existing workbook data remains.
Owner: DataConnections. Package: @txtextcontrol/tx-sheet-control-server. Version: 2.0.0.
Syntax
unbind(id: string): void
Parameters
| Parameter | Type | Optional | Description |
|---|---|---|---|
id | string | No | Stable identity in the owning document/collection. |
Return Value
void.
Examples
Pass an existing DataConnections from the owning document. Related handles and input bytes must belong to the intended document and application; the function applies the operation and inspects its result.
import type { DataConnections } from '@txtextcontrol/tx-sheet-control-server';
function applyDataConnectionsUnbind(dataConnections: DataConnections) {
dataConnections['unbind']('revenue');
}
Remarks
Use this member on an object from the current document. Reacquire document-bound handles after replacement/deletion. Validate arguments against the declared types and documented bounds; handle exceptions or rejected promises.