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

# 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

readonly dataSource?: 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

readonly filters?: FilterRelations | Filter[]

Filters that will slice query results


# highlights

readonly highlights?: Filter[]

Filters that will highlight query results

# Chart

# dataOptions

readonly dataOptions: PivotTableDataOptions

Configurations for how to interpret and present the data passed to the table

# Widget

# description

readonly description?: string

Description of the widget


# styleOptions

readonly styleOptions?: PivotTableWidgetStyleOptions

Style options for both the table and widget including the widget header


# title

readonly title?: string

Title of the widget