React Native module for Flexmonster Pivot Table & Charts

This repository holds the source code for using Flexmonster Pivot in React Native applications.
Getting Started
If you don’t have React Native app, you can create it by running in the console:
npm install -g expo-cli
expo init my-app --template blank
cd my-app
npm install
You can find more information here: React Native: Getting Started
Add Flexmonster React Native module by running in the console:
npm i react-native-flexmonster --save
Include FlexmonsterReactNative
into App.js
:
import * as FlexmonsterReactNative from 'react-native-flexmonster';
Insert a pivot table into App.js
:
export default function App() {
return (
<View style={{ flex: 1 }}>
<FlexmonsterReactNative.Pivot
report="https://cdn.flexmonster.com/reports/report.json"
/>
</View>
);
}
For better user experience, we recommend setting orientation of the screen to landscape
.
Now you are ready to run the application.
expo start
Usage
Available attributes for FlexmonsterReactNative.Pivot
:
- report – property to set a report. It can be inline Report Object or URL to report JSON.
- licenseKey – the license key.
License
Here is Flexmonster licensing page. We have free 30 day trial!
Flexmonster React module is released as a MIT-licensed (free and open-source) add-on to Flexmonster Pivot.
Support & feedback
Please share your feedback or ask questions via Flexmonster Forum.