JSFiddle - React, Tailwind, and code Playground
by Flexmonster Pivot Table
HTML
<link rel="stylesheet" href="https://s3.amazonaws.com/flexmonster/2.3/demo.css">
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<div id="pivotContainer1"></div>
<div id="pivotContainer2"></div>
JavaScript
var pivot1 = new Flexmonster({
container: "pivotContainer1",
componentFolder: "https://cdn.flexmonster.com/",
height: 300,
report: {
dataSource: {
data: []
},
options: {
showEmptyData: false,
grid: {
title: "showEmptyData: false"
}
}
}
});
var pivot2 = new Flexmonster({
container: "pivotContainer2",
componentFolder: "https://cdn.flexmonster.com/",
height: 300,
report: {
dataSource: {
data: []
},
options: {
showEmptyData: true,
grid: {
title: "showEmptyData: true"
}
}
}
});