Skip to content

Commit aa81cbc

Browse files
Updating Readme file content
1 parent 573700c commit aa81cbc

3 files changed

Lines changed: 15 additions & 22 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# 📊 Getting Started — React Pivot Table Component (Syncfusion EJ2)
22

33
[![License](https://img.shields.io/badge/license-SEE%20LICENSE%20IN%20license-blue.svg)](https://www.syncfusion.com/content/downloads/syncfusion_license.pdf)
4-
[![React](https://img.shields.io/badge/React-18.3.1-blue.svg)](https://react.dev/)
5-
[![Syncfusion Version](https://img.shields.io/badge/Syncfusion%20EJ2-26.1.39-green.svg)](https://www.syncfusion.com/react-components/)
4+
[![React](https://img.shields.io/badge/React-19.2.4-blue.svg)](https://react.dev/)
5+
[![Last Updated](https://img.shields.io/github/last-commit/SyncfusionExamples/getting-started-with-the-react-pivot-table-component.svg)](https://github.com/SyncfusionExamples/getting-started-with-the-react-pivot-table-component/commits)
6+
[![Syncfusion Version](https://img.shields.io/badge/Syncfusion%20EJ2-32.1.19-green.svg)](https://www.syncfusion.com/react-components/)
67
[![Node.js](https://img.shields.io/badge/Node.js-LTS-green.svg)](https://nodejs.org/)
78
[![npm](https://img.shields.io/badge/npm-v10%2B-blue.svg)](https://www.npmjs.com/)
89

@@ -157,8 +158,8 @@ http://localhost:3000
157158

158159
```json
159160
{
160-
"react": "^18.3.1",
161-
"react-dom": "^18.3.1",
161+
"react": "^19.2.4",
162+
"react-dom": "^19.2.4",
162163
"react-scripts": "5.0.1"
163164
}
164165
```
@@ -485,9 +486,3 @@ This project is licensed under the **Syncfusion Community License**. See the [Sy
485486
- ✅ Consider **server-side aggregation** for very large datasets
486487

487488
---
488-
489-
**Last Updated:** February 2026
490-
**Version:** 1.0.0
491-
**Maintained By:** Syncfusion Examples Team
492-
493-
⭐ If you find this project helpful, please consider giving it a star on GitHub!

‎package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
"dependencies": {
66
"@syncfusion/ej2-react-pivotview": "^26.1.39",
77
"@testing-library/jest-dom": "^5.17.0",
8-
"@testing-library/react": "^13.4.0",
9-
"@testing-library/user-event": "^13.5.0",
10-
"react": "^18.3.1",
11-
"react-dom": "^18.3.1",
8+
"@testing-library/react": "^16.3.2",
9+
"@testing-library/user-event": "^14.5.2",
10+
"react": "^19.2.4",
11+
"react-dom": "^19.2.4",
1212
"react-scripts": "5.0.1",
1313
"web-vitals": "^2.1.4"
1414
},

‎src/App.js‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import * as React from 'react';
2-
import * as ReactDOM from 'react-dom';
32
import { CalculatedField, FieldList, Inject, PivotViewComponent } from '@syncfusion/ej2-react-pivotview';
43
import { pivotData } from './datasource';
54
import './App.css';
5+
66
function App() {
77
const dataSourceSettings = {
88
columns: [{ name: 'Date', caption: 'Date' }, { name: 'Product' }],
@@ -16,12 +16,10 @@ function App() {
1616
};
1717
let pivotObj;
1818
return (
19-
<PivotViewComponent ref={d => pivotObj = d} id='PivotView' height={350} dataSourceSettings={dataSourceSettings} allowCalculatedField={true} showFieldList={true}>
20-
<Inject services={[CalculatedField, FieldList]}/>
21-
</PivotViewComponent>
19+
<PivotViewComponent ref={d => pivotObj = d} id='PivotView' height={350} dataSourceSettings={dataSourceSettings} allowCalculatedField={true} showFieldList={true}>
20+
<Inject services={[CalculatedField, FieldList]}/>
21+
</PivotViewComponent>
2222
);
2323
}
24-
;
25-
export default App;
26-
const root = ReactDOM.createRoot(document.getElementById('root'));
27-
root.render(<App />);
24+
25+
export default App;

0 commit comments

Comments
 (0)