- Notifications
You must be signed in to change notification settings - Fork2
SyncfusionExamples/sorting-in-react-pivot-table
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This sample demonstrates how tosort field members and values in theSyncfusion React Pivot Table (PivotView) component. It showcases how to enable value sorting and configure field member sorting using thesortSettings andvalueSortSettings properties.
TheSyncfusion Pivot Table (PivotView) is a powerful React component used for visualizing and analyzing large amounts of data. This example focuses on sorting capabilities within the Pivot Table, including:
- Field Member Sorting: Sorts the row field members (e.g.,
ProductID) in ascending or descending order. - Value Sorting: Sorts values (e.g.,
Sold Amount) based on specific headers usingvalueSortSettings.
Before running this project, ensure you have the following installed:
- Node.js (latest version recommended)
- Visual Studio Code
Follow these steps to run the application locally:
Clone the repository:
git clone https://github.com/SyncfusionExamples/sorting-in-react-pivot-table
Navigate to the project folder:
cd sorting-in-react-pivot-tableInstall dependencies:
npm install
Start the development server:
npm start
Open your browser and go to
http://localhost:3000to view the Pivot Table in action.
sorting-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│ ├── App.css # Styling for the component│ └── ...├── package.json├── README.md└── tsconfig.jsonFor questions or feedback, visit:
This project uses Syncfusion components, which require a valid license for production use.
View Syncfusion License Terms
About
This sample demonstrates how to sort field members and values in the Syncfusion React Pivot Table component.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.