Init with API call new Flexmonster (with the toolbar)
Embedding Flexmonster
by planiurl
HTML
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<button onclick="setTitle()">Get Reference</button>
<div id="pivot-container"></div>
JavaScript
var pivot = $("#pivot-container").flexmonster({
componentFolder: "https://cdn.flexmonster.com/",
toolbar: true,
report: "https://cdn.flexmonster.com/reports/report.json"
});
function setTitle(){
var pivot = $("#pivot-container").data("flexmonster");
pivot.setOptions({
grid: {
title: "Some title"
}
})
}