Flat Table - default slice
Other
HTML
<link rel="stylesheet" href="https://s3.amazonaws.com/flexmonster/2.3/demo.css">
<script src="https://cdn.flexmonster.com/2.4/flexmonster.js"></script>
<div id="pivot-container"></div>
JavaScript
new Flexmonster({
container: "#pivot-container",
componentFolder: "https://cdn.flexmonster.com/2.4/",
report: {
dataSource: {
dataSourceType: "csv",
filename: "data/data.csv"
},
"slice": {
"rows": [
{
"uniqueName": "Category"
},
{
"uniqueName": "Size"
},
{
"uniqueName": "Color"
}
]
},
options: {
grid: {
type: "flat"
}
}
},
width: "100%",
height: 370
});