Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

SyncfusionExamples/field-list-in-react-pivot-table

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 Enable Field List in Syncfusion React Pivot Table

This sample demonstrates how to enable and configure a Field List in the Syncfusion React Pivot Table (PivotView) component. It also showcases features like toolbar integration, calculated fields, and value buttons for interactive data analysis.

🔍 Overview

The Syncfusion Pivot Table is a powerful React component for summarizing and analyzing large datasets. In this example:

  • A sample dataset includes fields like Country, Products, Year, Quarter, Sold, and Amount.
  • The Pivot Table is configured with:
    • Rows: Country, Products
    • Columns: Year
    • Values: Sold (Units Sold), Amount (Sold Amount)
  • The Field List is enabled and integrated into the toolbar.
  • Calculated Fields and Defer Layout Update options are also enabled.
  • The field list dialog is rendered with document.body as its target for better UI placement.

✅ Key Features

  • Field List: Allows users to dynamically modify the Pivot Table layout.
  • Toolbar Integration: Adds the Field List button to the toolbar.
  • Calculated Fields: Enables creation of custom calculations.
  • Values Button: Displays value settings for better customization.
  • Defer Layout Update: Improves performance during configuration.

🛠 Prerequisites

Before running this project, ensure you have:

🚀 Getting Started

Follow these steps to run the application:

  1. Clone the repository:

    git clone https://github.com/SyncfusionExamples/field-list-in-react-pivot-table
  2. Navigate to the project folder:

    cd field-list-in-react-pivot-table
  3. Install dependencies:

    npm install
  4. Start the development server:

    npm start
  5. Open your browser and go to http://localhost:3000 to view the Pivot Table.

📂 Project Structure

field-list-in-react-pivot-table/
├── public/
│   ├── index.html
│   └── ...
├── src/
│   ├── App.tsx        # Main component with Pivot Table configuration
│   ├── data.js        # Sample data used in the Pivot Table
│   └── ...
├── package.json
├── README.md
└── tsconfig.json

📚 Learn More

💬 Support

For questions or feedback, visit:

📜 License

This project uses Syncfusion components, which require a valid license for production use.
View Syncfusion License Terms

About

A quick-start project that shows how to enable a field list in Syncfusion React Pivot Table. This project also contains code snippet to enable a field list in the toolbar, to show values button, and calculated fields.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.