/syncfusion-angular:syncfusion-angular-pivot-tablefrom Syncfusion Angular UI Components
Use this skill when users ask how to build or customize Syncfusion PivotView pivot tables in Angular. Trigger for Angular pivot grid/OLAP, aggregation, data binding (JSON/remote), drill-down/drill-through, grouping, filtering, conditional formatting, exports (Excel/PDF/CSV), or pivot charts. Angular-only, not React/Vue/Blazor.
Ships in Syncfusion Angular 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 Angular 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
Use this skill when users need to:
📄 Read: references/getting-started.md
@syncfusion/ej2-{theme}-theme packages (e.g. ej2-material3-theme) with a single styles/pivotview/index.css importPivotViewModule, bootstrapApplication)📄 Read: references/aggregation.md
PercentageOfParentColumnTotal, PercentageOfParentRowTotal (axis-scoped % of parent)RunningTotals and PercentageOfRunningTotals (cumulative % of grand total; client-side only)📄 Read: references/grouping.md
allowGrouping: true and inject GroupingService📄 Read: references/calculated-field.md
allowCalculatedField: true, injecting CalculatedFieldServicecalculatedFieldSettings (name, formula)type: 'CalculatedField'formatSettings array: Currency (C), Number (N), Percentage (P)📄 Read: references/pivot-chart-integration.md
PivotChartService provider to enable chart functionalitydisplayOption property to show Table, Chart, or Both with view and primary settingschartSeries in chartSettings (type, marker, dataLabel)showFieldList: true for dynamic field manipulationshowGroupingBar: true for axis field switchingprimaryXAxis and primaryYAxis in chartSettingsenableMultipleAxis for multi-value visualization with multipleAxisMode📄 Read: references/filtering-and-sorting.md
levelCount for OLAP)maxNodeLimitInMemberEditor for large hierarchiesloadOnDemandInMemberEditor and levelCountmemberFiltering, memberEditorOpen, actionBegin/actionComplete/actionFailuremembersOrderenableValueSortingvalueSortSettings📄 Read: references/data-formatting.md
conditionalFormatSettingsformatSettings array in dataSourceSettings📄 Read: references/export-and-print.md
excelExport() with custom properties, themespdfExport() with headers, footers, page orientationcsvExport() for large datasets (1M+ rows)print() method for table and chart📄 Read: references/ui-customization.md
📄 Read: references/grouping-bar-ui-operations.md
showGroupingBar: true on componentgroupingBarSettings📄 Read: references/tooltips-customization.md
📄 Read: references/editing-drill-operations.md
allowEditing: true on component (relational data only)editSettings with allowAdding, allowDeleting, allowCommandColumnseditCompleted, actionBegin, actionComplete, actionFailureselectionSettings📄 Read: references/olap-data-sources.md
url, catalog, cube, providerType: 'SSAS' in dataSourceSettings[Dimension].[Hierarchy] notation (e.g., [Date].[Date Hierarchy])📄 Read: references/paging-configuration.md
enablePaging: true and inject PagerServicerowPageSize, columnPageSize, currentRowPage, currentColumnPage📄 Read: references/virtual-scrolling.md
enableVirtualization: true for large datasetsallowSinglePage: true to render only current view pageenginePopulated events and update/updateView methods📄 Read: references/drill-down.md
cellClick, fieldDrop, fieldsUpdated for drill interactions📄 Read: references/database-connections.md
📄 Read: references/server-side-pivot-engine.md
mode: 'Server' with url endpoint in dataSourceSettings📄 Read: references/performance-optimization.md
enableVirtualization: true for 100K+ rowsallowSinglePage: true for better performancepageSettings for row/column paginationallowDataCompression: true for duplicate record summarizationallowDeferLayoutUpdate: true to batch field operationsmode: 'Server'📄 Read: references/state-persistence-hyperlinks.md
getPersistData()hyperlinkSettingsimport { PivotViewAllModule, CalculatedFieldService } from '@syncfusion/ej2-angular-pivotview';
import { Component, OnInit, ViewChild } from '@angular/core';
import { PivotViewComponent, IDataSet } from '@syncfusion/ej2-angular-pivotview';
import { DataSourceSettingsModel } from '@syncfusion/ej2-pivotview/src/model/datasourcesettings-model';
@Component({
imports: [PivotViewAllModule],
providers: [CalculatedFieldService],
standalone: true,
selector: 'app-pivot-grid',
template: `
<ejs-pivotview #pivotview id='PivotView'
[dataSourceSettings]="dataSourceSettings"
[height]="'500px'"
[width]="'100%'"
[allowCalculatedField]="true"
[allowGrouping]="true"
[toolbar]="toolbarItems">
</ejs-pivotview>
`
})
export class AppComponent implements OnInit {
@ViewChild('pivotview') pivotViewComponent!: PivotViewComponent;
public pivotData!: IDataSet[];
public dataSourceSettings!: DataSourceSettingsModel;
public toolbarItems: string[] = ['New', 'Save', 'SaveAs', 'Rename', 'Remove', 'Load', 'Export'];
ngOnInit(): void {
this.pivotData = [
{ 'Sold': 31, 'Amount': 52824, 'Country': 'France', 'Products': 'Mountain Bikes', 'Year': 'FY 2015', 'Quarter': 'Q1' },
{ 'Sold': 51, 'Amount': 86904, 'Country': 'France', 'Products': 'Mountain Bikes', 'Year': 'FY 2015', 'Quarter': 'Q2' },
{ 'Sold': 90, 'Amount': 153360, 'Country': 'France', 'Products': 'Mountain Bikes', 'Year': 'FY 2015', 'Quarter': 'Q3' },
{ 'Sold': 25, 'Amount': 42500, 'Country': 'France', 'Products': 'Road Bikes', 'Year': 'FY 2015', 'Quarter': 'Q1' },
{ 'Sold': 40, 'Amount': 68000, 'Country': 'Germany', 'Products': 'Mountain Bikes', 'Year': 'FY 2015', 'Quarter': 'Q2' }
];
this.dataSourceSettings = {
dataSource: this.pivotData,
expandAll: false,
rows: [{ name: 'Country' }, { name: 'Products' }],
columns: [{ name: 'Year' }, { name: 'Quarter' }],
values: [
{ name: 'AvgAmount', type: 'CalculatedField' },
{ name: 'Sold', type: 'Count' }
],
calculatedFieldSettings: [
{
name: 'AvgAmount',
formula: '"Sum(Amount)"/"Count(Sold)"' // Calculated field: Average
}
],
formatSettings: [
{ name: 'Amount', format: 'C2' }, // Currency format
{ name: 'AvgAmount', format: 'C2' } // Format calculated field
]
};
}
}
Each field supports only ONE aggregation type. To analyze different aspects, use different fields with their respective aggregation functions:
values: [
{ name: 'Amount', type: 'Sum' }, // Total sales amount
{ name: 'Quantity', type: 'Avg' }, // Average quantity sold
{ name: 'Sold', type: 'Count' }, // Number of transactions
{ name: 'Price', type: 'Min' }, // Minimum price
]
Note: Each field in the values array can only have ONE type. To get multiple aggregation types for analysis, use different fields or create calculated fields combining aggregations.
Organize data with multi-level grouping:
rows: [
{ name: 'Country' }, // Primary level
{ name: 'Region' }, // Secondary level
{ name: 'City' } // Tertiary level
],
columns: [
{ name: 'Year' }, // Year level
{ name: 'Quarter' } // Quarter level
]
Combine calculated fields with multiple aggregation types for advanced analysis:
values: [
{ name: 'Amount', type: 'Sum' }, // Total amount
{ name: 'Quantity', type: 'Avg' }, // Average quantity
{ name: 'AvgRevenue', type: 'CalculatedField' } // Custom calculation
],
calculatedFieldSettings: [
{
name: 'AvgRevenue',
formula: '"Sum(Amount)" / "Count(Quantity)"' // Revenue per unit
}
],
formatSettings: [
{ name: 'Amount', format: 'C2' }, // Currency format for Amount
{ name: 'AvgRevenue', format: 'C2' } // Currency format for calculated field
]
Group numeric fields into ranges:
groupSettings: [
{
name: 'ProductID',
type: 'Number',
rangeInterval: 5,
startingAt: 1000,
endingAt: 1010
}
]
Organize dates with time-based hierarchies:
groupSettings: [
{
name: 'OrderDate',
type: 'Date',
groupInterval: ['Years', 'Months'], // Year then month hierarchy
startingAt: new Date(2020, 0, 1),
endingAt: new Date(2023, 11, 31)
}
]
| Property | Type | Location | Purpose |
|---|---|---|---|
rows | Array | dataSourceSettings | Fields organized vertically for grouping data |
columns | Array | dataSourceSettings | Fields organized horizontally for grouping data |
values | Array | dataSourceSettings | Fields to aggregate with type (Sum, Avg, Count, CalculatedField, etc.) |
filters | Array | dataSourceSettings | Fields used to filter data across both axes |
type | String | values field | Aggregation type: Sum, Avg, Count, Min, Max, Product, DistinctCount, Median, RunningTotals, PercentageOfRunningTotals (client-side only), DifferenceFrom, PercentageOfDifferenceFrom, PercentageOfGrandTotal, PercentageOfColumnTotal, PercentageOfRowTotal, PercentageOfParentTotal, PercentageOfParentColumnTotal, PercentageOfParentRowTotal, PopulationStDev, SampleStDev, PopulationVar, SampleVar, Index, CalculatedField |
baseField | String | values field | Field reference for DifferenceFrom/Percentage-based comparisons (base field aggregation) |
baseItem | String | values field | Specific member for base field comparisons |
allowCalculatedField | Boolean | Component | Enable calculated field feature (requires CalculatedFieldService provider) |
calculatedFieldSettings | Array | dataSourceSettings | Define calculated field name and formula properties |
formula | String | calculatedFieldSettings | Mathematical expression using aggregation functions (Sum, Count, Avg, Min, Max) and operators (+, -, *, /, ^, <, >, ==, !=, &, |, ?) |
formatSettings | Array | dataSourceSettings | SEPARATE array for number formatting (C, N, P, E) of value fields and calculated fields |
allowGrouping | Boolean | Component | Enable grouping feature (requires GroupingService provider) |
groupSettings | Array | dataSourceSettings | Configure number, date, or custom grouping with name, type, rangeInterval, groupInterval |
groupInterval | Array | groupSettings | Grouping hierarchy (Years, Quarters, Months, Days, Hours, Minutes, Seconds) |
aggregateTypes | Array | Component | Restrict aggregation dropdown to specific types (array of AggregateTypes) |
showAggregationOnValueField | Boolean | dataSourceSettings | Display aggregation type in grouping bar button text (e.g., "Sum of Amount" vs "Amount") |
sortSettings | Array | dataSourceSettings | Configure field sorting with order, membersOrder, name properties |
enableValueSorting | Boolean | Component | Enable sorting by aggregated values |
allowMemberFilter | Boolean | dataSourceSettings | Enable/disable member filter UI (default true) |
allowLabelFilter | Boolean | dataSourceSettings | Enable label filter UI for header text/number/date filtering |
allowValueFilter | Boolean | dataSourceSettings | Enable value filter UI for aggregate-based filtering |
filterSettings | Array | dataSourceSettings | Programmatic filter criteria with name, type (Include/Exclude/Label/Number/Date/Value), condition, value1, value2, measure, items, levelCount, selectedField |
condition (Top/Bottom) | String | filterSettings (type: 'Value') | Top/Bottom N members by aggregated value of the chosen measure (client-side only) |
maxNodeLimitInMemberEditor | Number | Component | Max members shown in the Member Editor before showing a "more items" message (default 1000) |
loadOnDemandInMemberEditor | Boolean | Component | OLAP-only: load only the first hierarchy level until expansion/level-select (default true) |
Important: When adding calculated fields to values, use type: 'CalculatedField' to distinguish them from regular aggregations. Format settings must be applied in a separate formatSettings array, not within the value field object.
Foundation (Start here):
Data Manipulation: 4. Read Calculated Fields for complex calculations and custom field formulas 5. Read Filtering & Sorting for label/value filtering and custom sorting 6. Read Data Formatting for number formats and conditional formatting
Visualization & Interaction: 7. Read Pivot Chart Integration for charting and drill operations 8. Read UI Customization for toolbars and custom interfaces 9. Read Drill-Down & Drill-Through for hierarchical data exploration
Advanced Features: 10. Read Export & Printing for multi-format export (Excel, PDF, CSV) 11. Read State Persistence for saving and restoring configurations 12. Read Database Connections for SQL/NoSQL/big data integration 13. Read Server-Side Pivot Engine for processing 100K+ rows on backend 14. Read Performance Optimization for large datasets, deferred updates, and virtual scrolling
These files provide foundational knowledge and may be referenced by feature guides:
📄 references/core-concepts.md - Data binding types (JSON, CSV, OLAP), client-side vs server-side comparison, choosing appropriate data sources
📄 references/layout-and-columns.md - Classic layout, row/column sizing, column features, cell selection and customization
📄 references/field-list.md - Field list UI (popup/fixed modes), field organization, deferred updates patterns
references/aggregation.md (opens in a new tab)references/calculated-field.md (opens in a new tab)references/core-concepts.md (opens in a new tab)references/data-formatting.md (opens in a new tab)references/database-connections.md (opens in a new tab)references/drill-down.md (opens in a new tab)references/editing-drill-operations.md (opens in a new tab)references/export-and-print.md (opens in a new tab)references/field-list.md (opens in a new tab)references/filtering-and-sorting.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/grouping-bar-ui-operations.md (opens in a new tab)references/grouping.md (opens in a new tab)references/layout-and-columns.md (opens in a new tab)references/olap-data-sources.md (opens in a new tab)references/paging-configuration.md (opens in a new tab)references/performance-optimization.md (opens in a new tab)references/pivot-chart-integration.md (opens in a new tab)references/server-side-pivot-engine.md (opens in a new tab)references/state-persistence-hyperlinks.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub syncfusion/boldcreate-plugins --plugin syncfusion-angular65 skills in this plugin
/syncfusion-angular-3d-chartImplement interactive 3D charts in Angular applications using Syncfusion. Guide covers setup, chart types (bar, column, stacked variants), customization, data binding, axis configuration, legends, tooltips, selection, data labels, appearance styling, dimensions, print/export, and accessibility. Use this skill whenever a user needs to create, configure, or customize 3D chart visualizations./syncfusion-angular-accordionGuide for implementing Angular Accordion components for collapsible content panels, expandable sections, FAQs, multi-step wizards, step-by-step forms, navigation menus, or tabbed navigation. Use this skill when users mention expanding/collapsing content, accordion layouts, step-by-step workflows, or hierarchical content organization. This skill covers initialization, expand modes, data binding, dynamic loading, animations, nested accordions, and real-world patterns./syncfusion-angular-accumulation-chartImplement and customize Syncfusion Angular Accumulation Charts (Pie, Doughnut, Pyramid, Funnel) with data binding, labels, legends, and tooltips. Use this when creating accumulation charts, configuring chart types, customizing data visualization, adding annotations, or handling interactive chart events in Angular applications.Other plugins' skills for the same job