Open the Field List after the component is initialized

Options

by Flexmonster Pivot Table

HTML

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

<p>
  When the
  <a
    href="https://www.flexmonster.com/api/options-object/#configuratoractive"
    target="_blank"
  >configuratorActive</a> property is set to <code>true</code>
  (line 31 in the JavaScript box), the Field List is opened after the component
  is initialized.
</p>

<div id="pivot-container" class="column right"></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/",
  height: 600,
  report: {
    dataSource: {
      filename: "data/data.csv",
    },
    slice: {
      rows: [
        {
          uniqueName: "Category",
        },
      ],
      columns: [
        {
          uniqueName: "Color",
        },
        {
          uniqueName: "[Measures]",
        },
      ],
      measures: [
        {
          aggregation: "sum",
          uniqueName: "Price",
        },
      ],
    },
    options: {
      configuratorActive: true
    }
  },
})