Flexmonster Software License Agreement (“Agreement”) has been revised and is effective as of October 15, 2026.
The following modifications were made:
Downloading, installing, and/or continuing to use Flexmonster Software after October 15, 2026, constitutes Licensee’s acceptance of the terms and conditions of the modified version of Agreement. If Licensee does not agree to any of these terms and conditions, they must cease using Flexmonster Software and must not download, install, use, access, or continue to access Flexmonster Software. By continuing to use Flexmonster Software or renewing the license or maintenance after the effective date of these modifications to Agreement, Licensee accepts and agrees to be bound by the terms and conditions of the modified Agreement.
We have prepared a ready-to-use sample project with a server that retrieves data from MongoDB using Flexmonster MongoDB Connector. Then, the server passes the data to Flexmonster Pivot.
In our sample project, we connect to Flexmonster’s sample database. You can also connect to your MongoDB database.
Step 1. To get our sample project, download it as ZIP or clone it with the following command:
git clone https://github.com/flexmonster/pivot-mongo && cd pivot-mongo
Step 2. Install the npm dependencies described in package.json:
npm install
Step 3. Run the server with the following commands:
npm run build
npm run start
Open the client/index.html file in the browser to see the result.
In the project, Flexmonster Pivot shows the data from Flexmonster’s sample database. To connect to your own database, see the Connect to your MongoDB database section.
To learn more about how the sample project works, check out the following files:
To connect to your MongoDB database, make the following changes in the sample project:
Step 1. Open src/controller/mongo.ts and replace the existing connection string with yours:
MongoClient.connect("<your_connection_string>", (err, db) => {
// ...
});Step 2. Replace the database name with yours:
dbo = db.db("<your_database_name>");Step 3. optional Configure caching and logging for the MongoDB Connector. Learn more about the Connector’s configurations.
Step 4. In client/index.html, replace the index value with your collection’s name:
report: {
dataSource: {
type: "api",
url: "http://localhost:9204/mongo",
index: "<your-collection-name>"
}
}Step 5. Run the server with the following commands:
npm run build
npm run start
To see Flexmonster with the data from your MongoDB database, open the client/index.html file in the browser.
Now you can improve and expand our sample project or embed the Connector into your server using the Embedding the Connector into a server tutorial.
If your data contains non-Latin characters, ensure you have set UTF-8 encoding for your data and page. This is required to display the data correctly in the component.
Can't find your answer here?
Visit the FAQ page
Flexmonster Pivot Table & Charts is a JavaScript pivot table component for adding interactive reporting and data analysis to web applications. Users can summarize, filter, sort, and explore data in pivot tables and charts, drill into results, and export reports.
Flexmonster works in plain JavaScript and TypeScript projects. It also integrates with React, Next.js, Angular, Vue, Blazor, and other technologies. See all integration options.
Flexmonster supports JSON and CSV files, SQL databases, MongoDB, Elasticsearch, and Microsoft Analysis Services (SSAS). You can also connect other data sources through your own backend. See supported data sources.
Flexmonster offers three licensing models: a Single Corporate License for internal use by one company (from $799/year), a SaaS License for embedding Flexmonster into a multi-tenant platform (from $2,499/year), and an OEM License for vendors distributing Flexmonster inside a product installed at other businesses (from $1,499/year for a 3-license bundle). Every license allows an unlimited number of developers and covers development, staging, and production environments at no extra charge.
SaaS projects can also use the free SaaS Entry license during development. Learn more on the pricing page.
Yes. Flexmonster offers a 30-day free trial that lets you evaluate all its features. No credit card is required. The trial version has a watermark.
To get started with Flexmonster, follow our integration guide.