Global vs. report-specific configurations
Configuring the report
by Flexmonster Pivot Table
HTML
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<div id="pivot-container">The component will appear here</div>
CSS
@import url(https://cdn.flexmonster.com/assets/jsfiddle-styles.css);
JavaScript
const pivot = new Flexmonster({
container: "pivot-container",
componentFolder: "https://cdn.flexmonster.com/",
toolbar: true,
global: {
options: {
readOnly: true
},
},
report: {
dataSource: {
filename: "data/data.json"
},
options: {
readOnly: false
}
}
});