Flexmonster Software License Agreement (“Agreement”) has been revised and is effective as of February 18, 2025.
The following modifications were made:
Downloading, installing, and/or continuing to use Flexmonster Software after February 18, 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.
The classic (tabular) form of the pivot table is an Excel-like layout where hierarchy sublevels are placed next to one another in separate rows or columns.
Play with the demo on a larger screen: save this link for later or watch the video review now.
<template>
<button @click="changeLayout('compact')">Use compact form</button>
<button @click="changeLayout('classic')">Use classic form</button>
<button @click="setRepeatLabels(true)">Repeat labels on</button>
<button @click="setRepeatLabels(false)">Repeat labels off</button>
<Pivot
ref="pivot"
height="450"
:report="report"
/>
</template>
<script setup>
import { useTemplateRef } from "vue";
import Pivot from "vue-flexmonster/vue3";
import "flexmonster/flexmonster.css";
const pivot = useTemplateRef("pivot");
const report = {
dataSource: {
type: "csv",
filename: "https://cdn.flexmonster.com/data/data.csv"
},
options: {
grid: {
type: "classic"
}
},
slice: {
rows: [
{
uniqueName: "Country"
},
{
uniqueName: "Business Type"
}
],
columns: [
{
uniqueName: "Color"
},
{
uniqueName: "[Measures]"
}
],
measures: [
{
uniqueName: "Price",
format: "currency"
}
],
expandAll: true
},
formats: [
{
name: "",
thousandsSeparator: ",",
decimalSeparator: ".",
decimalPlaces: 2
},
{
name: "currency",
currencySymbol: "$"
}
]
};
function changeLayout(layoutType) {
pivot.value.flexmonster.setOptions({
grid: {
type: layoutType
}
});
pivot.value.flexmonster.refresh();
}
function setRepeatLabels(enabled) {
pivot.value.flexmonster.setOptions({
grid: {
repeatAllLabels: enabled
}
});
pivot.value.flexmonster.refresh();
}
</script>
Compared to the default compact form of the Vue pivot table, where grand totals are displayed at the end of each row and subtotals are displayed in a separate row at the bottom, the classic form shows data as in the tabular layout in Excel.
The pivot functionality stays the same. It's only up to you how you want your Vue pivot grid to look.
Still, for multilevel hierarchies with many sublevels, it's better to use a compact form to show data more smartly.
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 licenses for internal corporate use, SaaS products, and OEM distribution. Pricing varies by license and plan. 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.