Skip to content

flexmonster/pivot-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React pivot grid | Flexmonster Pivot Table & Charts sample project with React

Flexmonster Pivot Table & Charts Website: flexmonster.com

Github Stars Twitter

Flexmonster Pivot Table & Charts

Flexmonster Pivot Table & Charts is a powerful and fully customizable JavaScript component for web reporting. It is packed with all core features for data analysis and can easily become a part of your React data visualization project. The tool supports popular frameworks like Angular, React, Vue, Blazor, and more. Also, Flexmonster connects to any data source, including SQL and NoSQL databases, JSON and CSV files, OLAP cubes, and Elasticsearch.

This repository contains sample Next.js and React projects for Flexmonster Pivot Table & Charts.

Table of contents:

Prerequisites

For Next.js:

For ES6/TypeScript:

Installation

  1. Download a .zip archive with the sample project or clone it from GitHub with the following command:
git clone https://github.com/flexmonster/pivot-react.git && cd pivot-react
  1. Choose one of the following projects:

    • To work with the Next.js + TypeScript project, go to the nextjs-ts/ folder:
    cd nextjs-ts
    • Try out the React + ES6 project with the following command:
    cd ES6
    • To see how the React + TypeScript project works, run the following command:
    cd typescript
  2. Install the npm dependencies described in package.json:

npm install
  1. Run the sample project:
npm start 

To see the result, open http://localhost:3000/ in your browser.

What is inside the project

React sample project contains several examples of Flexmonster Pivot usage and customization:

  • Pivot table demo shows how to define the report, toolbar, width, height, beforetoolbarcreated, and shareReportConnection initialization parameters in the pivot grid for React.
  • Handling events demonstrates how to subscribe to events and unsubscribe from them.
  • Using API calls illustrates how to use Flexmonster's methods.
  • Updating data is an example of using the updateData() method.
  • Customizing the Toolbar illustrates how to customize the Toolbar.
  • Customizing the grid shows how to customize the pivot table using the customizeCell() API call.
  • Integration with Highcharts demonstrates how to integrate with the Highcharts charting library.
  • Integration with amCharts is an example of integration with the amCharts charting library.

You can try all of these examples right from the project’s starting page.

Related Flexmonster docs

For Next.js:

For ES6/TypeScript:

Support and feedback

In case of any issues, visit our troubleshooting section. You can also search among the resolved cases for a solution to your problem.

To share your feedback or ask questions, contact our Tech team by raising a ticket on Flexmonster Help Center. You can also find a list of samples, technical specifications, and a user interface guide there.

Flexmonster licensing

This sample project uses Flexmonster React wrapper, which is released as an MIT-licensed (free and open-source) add-on to Flexmonster Pivot.

To learn about Flexmonster Pivot licenses, visit the Flexmonster licensing page. If you want to test our product, we provide a 30-day free trial.

If you need any help with your license — fill out our Contact form, and we will get in touch with you.

Social media

Follow us on social media and stay updated on our development process!

LinkedIn YouTube Twitter