TX Sheet Control

DataConnections.refreshAll Method

Method

Refreshes all bindings independently; one rejected source does not prevent the others from updating.

Owner: DataConnections. Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Syntax

refreshAll(options?: DataRefreshOptions): Promise<PromiseSettledResult<DataSnapshot>[]>

Parameters

ParameterTypeOptionalDescription
optionsDataRefreshOptions | undefinedYesSupported settings for this operation; omitted settings retain documented defaults.

Return Value

Promise<PromiseSettledResult<DataSnapshot>[]>.

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';

async function applyDataConnectionsRefreshAll(dataConnections: DataConnections) {
    const result = await dataConnections['refreshAll']();
    console.log(result);
}

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.

See Also