<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<p>
Use the buttons below to output fields selected for rows, columns, or report
filters. The output will appear under the component.
</p>
<button onclick="getRows()">Get rows</button>
<button onclick="getColumns()">Get columns</button>
<button onclick="getReportFilters()">Get report filters</button>
<div id="pivot-container">The component will appear here</div>
<div class="output" id="output">Output will appear here</div>