# Function toTableProps
toTableProps(
widgetModel
):TableProps
Translates a WidgetModel to the props for rendering a table.
# Parameters
Parameter | Type |
---|---|
widgetModel | WidgetModel |
# Returns
# Example
<Table {...widgetModelTranslator.toTableProps(widgetModel)} />
Note: this method is not supported for chart and pivot widgets.
Use toChartProps instead for getting props for the <Chart>
component.
Use toPivotTableProps instead for getting props for the <PivotTable>
component.