TX Sheet Control

DashboardGenerationOptions Interface

Interface

Deterministic generation settings. Existing dashboards are changed only with an explicit target and strategy.

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

Related workbook object-model type, returned through the server control. Obtain it from its owning workbook or collection; it is not a required browser-package import.

Members

Properties

PropertyDescription
fieldRolesExplicit field role overrides keyed by sourceId.fieldId. Identifier defaults never become summed amounts.
maxWidgetsThe maxWidgets value of DashboardGenerationOptions.
nameThe name value of DashboardGenerationOptions.
scopeThe scope value of DashboardGenerationOptions.
selectionThe selection value of DashboardGenerationOptions.
sourceIdsThe sourceIds value of DashboardGenerationOptions.
strategyThe strategy value of DashboardGenerationOptions.
targetIdThe targetId value of DashboardGenerationOptions.
templateThe template value of DashboardGenerationOptions.
templateModeReplace uses only the developer template; append fills remaining capacity after the default rules.

Examples

Configure DashboardGenerationOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

import type { ServerSheetControl } from '@txtextcontrol/tx-sheet-control-server';

const dashboardGenerationSettings: NonNullable<
    Parameters<ServerSheetControl['workbook']['dashboards']['generate']>[0]
> = { name: 'Sales overview' };

See Also