<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<div>
<h2>Disable the context menu</h2>
<p>
The
<a
target="_blank"
href="https://www.flexmonster.com/user-interface/#context-menu"
>context menu</a> can be customized using the
<a
href="https://www.flexmonster.com/api/customizecontextmenu/"
target="_blank"
>customizeContextMenu()</a> method.
</p>
<p>
In this example, we disable the context menu by returning an empty array in
the parameter function of the <code>customizeContextMenu()</code> API call
(lines 30-32 in the JavaScript box).
</p>
<p>
<a
href="https://www.flexmonster.com/doc/customizing-context-menu/"
target="_blank"
>Visit our docs to learn more about customizing the context menu</a>.
</p>
</div>
<button onclick="startCustomizing()">Start Customizing</button>
<button onclick="clearCustomizing()">Clear Customizing</button>
<div id="pivot-container"></div>