# Class PivotTableWidget Beta
The PivotTableWidget component extending the PivotTable component to support widget style options.
# Example
Here's how you can use the PivotTableWidget component in a Vue application:
<template>
<PivotTableWidget :props="pivotTableWidgetProps" />
</template>
<script setup lang="ts">
import { ref } from 'vue';
import { PivotTableWidget } from '@sisense/sdk-ui-vue';
const pivotTableWidgetProps = ref({
// Configure your PivotTableWidget here
});
</script>
# Param
Pivot Table Widget properties
# Properties
# Data
# dataSource
readonlydataSource?:DataSource
Data source the query is run against - e.g. Sample ECommerce
If not specified, the query will use the defaultDataSource specified in the parent Sisense Context.
# filters
readonlyfilters?:FilterRelations|Filter[]
Filters that will slice query results
# highlights
readonlyhighlights?:Filter[]
Filters that will highlight query results
# Chart
# dataOptions
readonlydataOptions:PivotTableDataOptions
Configurations for how to interpret and present the data passed to the table
# Widget
# description
readonlydescription?:string
Description of the widget
# styleOptions
readonlystyleOptions?:PivotTableWidgetStyleOptions
Style options for both the table and widget including the widget header
# title
readonlytitle?:string
Title of the widget