JSFiddle - React, Tailwind, and code Playground
by Ian Sadovy
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="pivot-container"></div>
CSS
.fm-ui-element.fm-sheet-selection-canvas {
display: none !important;
}
JavaScript
const pivot = new Flexmonster({
container: "pivot-container",
componentFolder: "https://cdn.flexmonster.com/",
toolbar: true,
report: {
dataSource: {
type: "json",
filename: "data/retail-data.json"
},
options: {
grid: {
showAutoCalculationBar: false
}
}
}
});
document.addEventListener('keyup', function(event) {
/* if (event.key === 'с') {
event.stopImmidiatePropagation();
} */
event.stopImmediatePropagation();
});