<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<p>
Click the buttons below to apply the filter to the <code>Country</code> field.
</p>
<button onclick="setConditionalFilter()">Conditional Filter</button>
<button onclick="setSelectionFilter()">Selection Filter</button>
<button onclick="setSelectionFilterExclude()">
Selection Filter (Exclude)
</button>
<button onclick="setValueFilter()">Value Filter</button>
<p>
Click the <b>Get Filter</b> button to output info about the applied filter
under the component.
</p>
<button onclick="getFilter()">Get Filter</button>
<p>
Click the <b>Clear Filter</b> button to clear the filter applied for the
<code>Country</code> field.
</p>
<button onclick="clearFilter()">Clear Filter</button>
<div id="pivot-container"></div>
<div class="output" id="output">Output will appear here</div>