sisense.com
✅ You are viewing documentation for the latest version of Compose SDK.
Version:

Function toPivotTableProps

toPivotTableProps(widgetModel): PivotTableProps

Translates a WidgetModel to the props for rendering a pivot table.

Parameters

ParameterType
widgetModelWidgetModel

Returns

PivotTableProps

Example

<PivotTable {...widgetModelTranslator.toPivotTableProps(widgetModel)} />

Note: this method is not supported for chart or table widgets. Use toChartProps instead for getting props for the <Chart> component. Use toTableProps instead for getting props for the <Table> component.

Last Updated: