<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<div>
<h2>How to predefine a slice for the drill-through view</h2>
<p>
To predefine a slice for the drill-through view, specify the needed fields
in the
<a
href="https://www.flexmonster.com/api/slice-object/#drillthrough"
target="_blank"
>slice.drillThrough</a> array.
</p>
<p>
In this example, the main slice contains two fields:
<code>"Category"</code> and <code>"Price"</code>, while the slice in the
drill-through view has four fields: <code>"Country"</code>,
<code>"Category"</code>, <code>"Color"</code>, and <code>"Price"</code>. To
see the configured drill-through slice, double-click a value on the grid.
</p>
<p>
<a href="https://www.flexmonster.com/doc/slice/" target="_blank"
>Refer to our documentation to learn more about slice configuration</a>.
</p>
</div>
<div id="pivot-container"></div>