<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<div>
<h2>How to save the report for later use</h2>
<p>
This example shows how to capture the report using the
<a href="https://www.flexmonster.com/api/save/" target="_blank">save()</a>
method. It is called when you click the <strong>Save report</strong> button.
</p>
<p>
Feel free to configure the report as you wish: set options, format values,
manage the slice. Then save the report to keep your changes.
</p>
<p>
<a
href="https://www.flexmonster.com/doc/get-report-from-the-component/"
target="_blank"
>See our documentation for other ways to save the report</a
>.
</p>
</div>
<button onclick="save()">Save report</button>
<div id="pivot-container"></div>