/syncfusion-vue:syncfusion-vue-pivot-tablefrom Syncfusion Vue UI Components
Use this skill when users ask how to implement Syncfusion PivotView pivot tables in Vue. Trigger for Vue pivot grid/OLAP analysis, measures/dimensions, data binding, drill-down/drill-through, grouping, filtering, calculated fields, conditional formatting, exports, or pivot charts. Vue-only, not React/Angular/Blazor.
Ships in Syncfusion Vue UI Components. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Syncfusion Vue Pivot Grid is a powerful data visualization and analysis component for creating interactive pivot tables, aggregating multidimensional data, and performing advanced analytics operations.
Important: Always verify API class names, properties, and method signatures by consulting the reference files in this skill (references/*.md). These are maintained with verified, working examples. Do not assume API details from other sources.
CRITICAL SECURITY NOTICE: When implementing pivot tables, always use trusted data sources. Never fetch or bind data from untrusted or user-provided URLs without proper validation and sanitization.
✅ DO: Use controlled, authenticated backend APIs ✅ DO: Implement server-side data validation ✅ DO: Use environment variables for API endpoints ✅ DO: Whitelist allowed data sources
❌ DON'T: Accept user-provided URLs ❌ DON'T: Bind to public, untrusted endpoints ❌ DON'T: Skip data validation and sanitization ❌ DON'T: Use HTTP for sensitive data
The Syncfusion Vue PivotView (Pivot Table) component provides a powerful, interactive way to analyze and visualize large datasets. It supports:
Use this skill whenever implementing:
| Property | Type | Description |
|---|---|---|
dataSourceSettings | IDataOptions | Configure data source, rows, columns, values, filters, formatting |
height | number | string | Set component height in pixels or percentage |
width | number | string | Set component width in pixels or percentage |
gridSettings | IGridSettings | Control layout (Compact/Tabular), column width, row height, resizing |
displayOption | IDisplayOption | Control Grid vs Chart view: { view: 'Grid' | 'Chart' | 'Both' } |
chartSettings | IChartSettings | Configure chart type, series, legend, axes, tooltip |
groupingBarSettings | IGroupingBarSettings | Customize grouping bar appearance and behavior |
allowExcelExport | boolean | Enable Excel export functionality |
allowPdfExport | boolean | Enable PDF export functionality |
allowCsvExport | boolean | Enable CSV export functionality |
allowMemberFilter | boolean | Enable member filtering in UI |
allowLabelFilter | boolean | Enable label filtering in UI |
allowValueFilter | boolean | Enable value filtering in UI |
allowSorting | boolean | Enable sorting functionality |
allowDrilling | boolean | Enable drill-down/drill-through actions |
allowDrillThrough | boolean | Enable drill-through to detail data (more granular than allowDrilling) |
allowResizing | boolean | Enable column and row resizing |
allowNumberFormatting | boolean | Show number formatting options in toolbar and dialogs |
allowConditionalFormatting | boolean | Enable conditional formatting feature via toolbar button |
allowCalculatedField | boolean | Enable calculated field creation |
showFieldList | boolean | Display field list panel (UI for field configuration) |
showGroupingBar | boolean | Display grouping bar at top (UI for drag-drop field organization) |
showToolbar | boolean | Display toolbar with export/report/field management buttons |
toolbar | string[] | Array of toolbar items: ['New', 'Save', 'SaveAs', 'Rename', 'Remove', 'Load', 'Grid', 'Chart', 'MDX', 'Export', 'SubTotal', 'GrandTotal', 'ConditionalFormatting', 'NumberFormatting', 'FieldList'] |
showTooltip | boolean | Display tooltips when hovering over cells |
enablePersistence | boolean | Save pivot state to local storage automatically |
conditionalFormatSettings | IConditionalFormatSettings[] | Pre-define conditional formatting rules: value ranges, operators, styling |
aggregateTypes | string[] | Limit available aggregation types in dropdown |
maxNodeLimitInMemberEditor | number | Maximum members to load in member filter dialog (default 1000) |
saveReport | Function(args) | Callback when user saves a report via toolbar |
loadReport | Function(args) | Callback when user loads a report via toolbar |
renameReport | Function(args) | Callback when user renames a report via toolbar |
removeReport | Function(args) | Callback when user removes a report via toolbar |
newReport | Function(args) | Callback when user creates a new report via toolbar |
fetchReport | Function() | Callback to retrieve list of saved reports |
| Property | Type | Description |
|---|---|---|
dataSource | any[] | JSON array or DataManager instance with data |
type | 'JSON' | 'CSV' | Data source type (default: 'JSON') |
rows | IField[] | Fields to display in row axis |
columns | IField[] | Fields to display in column axis |
values | IField[] | Value/measure fields for aggregation |
filters | IField[] | Fields to display in filter axis |
expandAll | boolean | Expand all row/column groups initially |
drilledMembers | IDrilledMember[] | Pre-drilled members: [{ name: 'Country', items: ['France'] }] |
filterSettings | IFilter[] | Member/label/value filters to apply |
sortSettings | ISort[] | Sort rules for fields |
formatSettings | IFormatSettings[] | Number formatting: [{ name: 'Amount', format: 'C0' }] |
calculatedFieldSettings | ICalculatedFieldSettings[] | Calculated field formulas |
// Export methods
excelExport() // Export pivot to Excel (.xlsx)
pdfExport() // Export pivot to PDF
csvExport() // Export pivot to CSV
// Dialog methods
createCalculatedFieldDialog() // Show calculated field creation dialog
showConditionalFormattingDialog() // Open conditional formatting dialog
createDrillThroughDialog() // Show drill-through data dialog
// Data manipulation
refresh() // Refresh pivot with current settings
setProperties({...}) // Update properties dynamically
// Data retrieval
getFieldList() // Get all available fields from data source
getDataSourceSettings() // Get current dataSourceSettings configuration
// Persistence
getPersistData() // Get serialized pivot state
loadPersistData(data) // Restore pivot state
All events from PivotViewComponent documentation are listed below. Use Vue's :eventName="handler" syntax to bind.
| Event | Parameters | Triggered When |
|---|---|---|
| actionBegin | dataSourceSettings, actionName, fieldInfo, cancel | Before any pivot operation (filtering, sorting, aggregation, calculated field) |
| actionComplete | dataSourceSettings, actionName, fieldInfo, actionInfo | After pivot operation completes successfully |
| actionFailure | actionName, errorInfo | Pivot operation fails or encounters error |
Common actionName values:
"Aggregate field" - When aggregation type is selected"Field filtered" - When member/label/value filter applied"Field sorted" - When field sorted via UI"Edit pivot table" - When cell edited in pivot"Remove field" / "Add field" - When field removed/added from grouping bar| Event | Parameters | Triggered When |
|---|---|---|
| aggregateCellInfo | rowHeaders, columnHeaders, value, valueField, aggregateType | Each value cell renders (use to override value or skip formatting) |
| cellClick | Cell coordinates, member info | User clicks on pivot cell |
| cellDoubleClick | Cell coordinates, member info | User double-clicks on pivot cell |
| Event | Parameters | Triggered When |
|---|---|---|
| calculatedFieldCreate | calculatedField, calculatedFieldSettings, fieldName, dataSourceSettings, cancel | User creates/edits calculated field in dialog |
| Event | Parameters | Triggered When |
|---|---|---|
| beforeExcelExport | dataSourceSettings, isCollapsedStateSaved | Before Excel export starts |
| excelExportComplete | Export result data | After Excel export completes |
| beforePdfExport | dataSourceSettings, isCollapsedStateSaved | Before PDF export starts |
| pdfExportComplete | Export result data | After PDF export completes |
| beforePrint | dataSourceSettings | Before printing starts |
| printComplete | Print result | After printing completes |
| Event | Parameters | Triggered When |
|---|---|---|
| drillThrough | Row/column headers, raw data records | User initiates drill-through action |
| beginDrillThrough | Cell context, member info | Before drill-through action starts (set args.cancel = true to prevent) |
| Event | Parameters | Triggered When |
|---|---|---|
| fieldDrop | Field being dropped, destination axis (rows/columns/values/filters) | Field dropped in grouping bar to add it |
| fieldDragStart | Field being dragged, source axis | Field drag initiated from grouping bar |
| fieldRemove | Field being removed, source axis | Field removed from grouping bar |
| onFieldDropped | Field dropped, destination axis | After field successfully dropped (similar to fieldDrop but triggers after) |
| aggregateMenuOpen | Field, current aggregation type | Aggregation type dropdown opened in grouping bar/field list |
| Event | Parameters | Triggered When |
|---|---|---|
| excelQueryCellInfo | Cell data, row/column info, cell type | For each cell during Excel export (customize cell styling, value, formatting) |
| excelHeaderQueryCellInfo | Header cell info, row/column hierarchy | For each header cell in Excel export (customize header styling) |
| pdfQueryCellInfo | Cell data, row/column info, pdfCell | For each cell during PDF export (customize PDF cell appearance) |
| headerCellInfo | Header cell context, style info | For each header cell render in UI (customize header appearance) |
| queryCellInfo | Value cell data, style, aggregateType | For each value cell render in UI (customize cell appearance, value, formatting) |
Example Event Usage:
<template>
<ejs-pivotview
:dataSourceSettings="dataSourceSettings"
@actionBegin="onActionBegin"
@actionComplete="onActionComplete"
@aggregateCellInfo="onAggregateCellInfo">
</ejs-pivotview>
</template>
<script setup>
const onActionBegin = (args) => {
if (args.actionName === 'Aggregate field') {
console.log('User changing aggregation for:', args.fieldInfo.name);
// Set args.cancel = true to prevent action
}
};
const onActionComplete = (args) => {
if (args.actionName === 'Field filtered') {
console.log('Filter applied successfully');
}
};
const onAggregateCellInfo = (args) => {
// Override cell value: args.value = customValue;
// Skip formatting: args.isFormatted = false;
};
</script>
📄 Read: references/getting-started.md
@syncfusion/ej2-tailwind3-theme)📄 Read: references/data-binding.md
📄 Read: references/connecting-to-data-source.md
📄 Read: references/olap.md
[Dimension].[Hierarchy]📄 Read: references/data-formatting.md
📄 Read: references/conditional-formatting.md
📄 Read: references/data-shaping.md
📄 Read: references/row-and-column.md
📄 Read: references/show-hide-totals.md
📄 Read: references/filtering.md
filterSettingsloadOnDemandInMemberEditor and levelCountmaxNodeLimitInMemberEditormemberFiltering, memberEditorOpen, actionBegin, actionComplete, actionFailure📄 Read: references/sorting.md
📄 Read: references/aggregation-and-calculated-fields.md
📄 Read: references/grouping.md
📄 Read: references/editing.md
📄 Read: references/drill-down-up.md
📄 Read: references/report-manipulation.md
📄 Read: references/hyperlink.md
📄 Read: references/classic-layout.md
gridSettings.layout)📄 Read: references/pivot-chart.md
📄 Read: references/tooltip.md
showTooltip property${rowHeaders}, ${columnHeaders}, ${valueField}, ${aggregateType}, ${value}chartSettings.tooltip📄 Read: references/export.md
📄 Read: references/toolbar.md
showToolbar property📄 Read: references/state-persistence.md
enablePersistence)getPersistData() and loadPersistData() methods📄 Read: references/performance.md
<template>
<div id="app">
<ejs-pivotview
:dataSourceSettings="dataSourceSettings"
:height="height"
:width="width"
:gridSettings="gridSettings"
:showFieldList="showFieldList">
</ejs-pivotview>
</div>
</template>
<script setup>
import { PivotViewComponent as EjsPivotview, FieldList } from "@syncfusion/ej2-vue-pivotview";
import { pivotData } from './pivotData.js';
import { provide } from "vue";
const dataSourceSettings = {
dataSource: pivotData,
expandAll: false,
columns: [{ name: 'Year', caption: 'Production Year' }, { name: 'Quarter' }],
rows: [{ name: 'Country' }, { name: 'Products' }],
values: [
{ name: 'Sold', caption: 'Units Sold' },
{ name: 'Amount', caption: 'Sold Amount' }
],
formatSettings: [{ name: 'Amount', format: 'C0' }],
filters: []
};
const height = '450px';
const width = '100%';
const showFieldList = true;
const gridSettings = { columnWidth: 120, layout: 'Compact' };
provide('pivotview', [FieldList]);
</script>
<style>
/* Tailwind 3 theme package — single import covers all Pivot Table dependencies */
@import "../node_modules/@syncfusion/ej2-tailwind3-theme/styles/pivotview/index.css";
</style>
Define rows, columns, and values to create aggregated summaries of your data.
Use expandAll: false with drill-down icons to allow users to explore hierarchical data.
Use dataSourceSettings.type to bind different data sources (JSON, OLAP, relational databases).
Enable Pivot Chart with displayOption: { view: 'Chart' } for graphical insights.
Combine virtualScrolling: true, allowPaging: true, or server-side engine for performance.
| Prop | Type | Purpose |
|---|---|---|
dataSourceSettings | Object | Defines data source, fields, and aggregation rules |
gridSettings | Object | Controls layout, dimensions, and grid behavior |
displayOption | Object | Controls Grid vs Chart visibility |
chartSettings | Object | Configures chart type and appearance |
hyperlinkSettings | Object | Enables and configures hyperlinks |
allowExcelExport | Boolean | Enables Excel export functionality |
allowPaging | Boolean | Enables paging for large datasets |
enableVirtualization | Boolean | Enables virtual scrolling |
enablePersistence | Boolean | Preserves component state in local storage |
showFieldList | Boolean | Displays field list UI |
showGroupingBar | Boolean | Displays grouping bar UI |
getting-started.mddata-binding.md or connecting-to-data-source.mddata-shaping.md, row-and-column.mddrill-down-up.md, report-manipulation.mdpivot-chart.mdhyperlink.mdexport.md, toolbar.mdstate-persistence.mdperformance.mdreferences/aggregation-and-calculated-fields.md (opens in a new tab)references/classic-layout.md (opens in a new tab)references/conditional-formatting.md (opens in a new tab)references/connecting-to-data-source.md (opens in a new tab)references/data-binding.md (opens in a new tab)references/data-formatting.md (opens in a new tab)references/data-shaping.md (opens in a new tab)references/drill-down-up.md (opens in a new tab)references/editing.md (opens in a new tab)references/export.md (opens in a new tab)references/filtering.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/grouping.md (opens in a new tab)references/hyperlink.md (opens in a new tab)references/olap.md (opens in a new tab)references/performance.md (opens in a new tab)references/pivot-chart.md (opens in a new tab)references/report-manipulation.md (opens in a new tab)references/row-and-column.md (opens in a new tab)references/show-hide-totals.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-vueOther plugins' skills for the same job
49 skills in this plugin
/syncfusion-vue-3d-chartImplementing Syncfusion Vue 3D Chart component for interactive 3D data visualization. Use this skill ALWAYS when user needs to create 3D charts, visualize data in 3D columns/bars, customize 3D chart axes, configure 3D chart types, style 3D chart appearance, implement user interactions like tooltips and selection, or export/print 3D charts. Essential for displaying multidimensional data with rotation, perspective, and enhanced visual appeal./syncfusion-vue-3d-circular-chartCreate interactive 3D pie and donut charts using Syncfusion Vue components. Use this skill whenever the user needs to visualize data as circular/pie charts with 3D perspective, create donut visualizations, add data labels to charts, customize chart legends, tooltips, empty points and animations. Trigger when user mentions 3D charts, pie charts, donut charts, circular visualizations, 3D pie, data visualization, chart rotation, chart interactivity, or circular types./syncfusion-vue-accumulation-chartMaster Syncfusion Vue Accumulation Charts for building pie, doughnut, funnel, and pyramid visualizations. Always includes data binding, legend configuration, data labels, and accessibility features. Immediately implement any chart type, customize styling, configure legends, format data labels, and add drill-down interactivity using ALWAYS comprehensive examples and patterns.