DashboardGenerationOptions 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
| Property | Description |
|---|---|
| fieldRoles | Explicit field role overrides keyed by sourceId.fieldId. Identifier defaults never become summed amounts. |
| maxWidgets | The maxWidgets value of DashboardGenerationOptions. |
| name | The name value of DashboardGenerationOptions. |
| scope | The scope value of DashboardGenerationOptions. |
| selection | The selection value of DashboardGenerationOptions. |
| sourceIds | The sourceIds value of DashboardGenerationOptions. |
| strategy | The strategy value of DashboardGenerationOptions. |
| targetId | The targetId value of DashboardGenerationOptions. |
| template | The template value of DashboardGenerationOptions. |
| templateMode | Replace 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' };