Hide or show the Field List toggle button in the drill-through view

Data source

by Flexmonster Pivot Table

HTML

<script src="https://cdn.flexmonster.com/flexmonster.js"></script>

<p>
  In this example, the Field List toggle button is hidden in the
  <a
    target="_blank"
    href="https://www.flexmonster.com/user-interface/#drill-through-view"
  >drill-through view</a> using the
  <a
    href="https://www.flexmonster.com/api/options-object/#showdrillthroughconfigurator"
    target="_blank"
  >showDrillThroughConfigurator</a> option (line 14 in the JavaScript box).
</p>

<div id="pivot-container"></div>

CSS

@import url(https://cdn.flexmonster.com/assets/jsfiddle-styles.css);

JavaScript

let pivot = new Flexmonster({
  container: "#pivot-container",
  componentFolder: "https://cdn.flexmonster.com/",
  width: "100%",
  height: 600,
  toolbar: true,
  report: {
    dataSource: {
      type: "elasticsearch",
      node: "https://olap.flexmonster.com:9200",
      index: "fm-product-sales"
    },
    options: {
      showDrillThroughConfigurator: false
    },
    slice: {
      rows: [{
          uniqueName: "Category.keyword",
          caption: "Category"
        }
      ],
      columns: [{
        uniqueName: "Color.keyword",
        caption: "Color"
      }, {
        uniqueName: "[Measures]"
      }],
      measures: [{
        uniqueName: "Price",
        aggregation: "sum",
        caption: "Price"
      }]
    }
  }
});