JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="https://s3.amazonaws.com/flexmonster/2.3/demo.css">
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>
<button onclick="expandData()">Expand</button>
<div id="pivot-container"></div>

SCSS

.editable {
    padding: 0 !important;

    input {
        width: 96px;
        height: 100%;
        font-size: inherit !important;
        font-family: inherit !important;
        background-color: transparent !important;
        border: 0px solid;
        box-sizing: border-box !important;
        padding-left: 4px !important;
        padding-right: 8px !important;
        text-align: right !important;
    }
    }

JavaScript

var pivot = new Flexmonster({
  container: "#pivot-container",
  componentFolder: "https://cdn.flexmonster.com/",
  toolbar: false,
  report: {
    "dataSource": {
        "type": "json",
        "data": getData(),
        "mapping":{
            "Amount":{
                "type":"number"
            },
            "month":{
                "type":"number"
            },
            "monthSelectionIdca3997f4-1674-4a10-87e9-28bb6a4b07bf":{
                "type":"property",
                "hierarchy":"month"
            },
            "Year":{
                "type":"number"
            },
            "Org_key_name":{
                "type":"string"
            },
            "ScenarioName":{
                "type":"string"
            },
            "Firstlevel":{
                "type":"string",
                "hierarchy":"Firstlevel"
            },
            "FirstlevelSelectionIdca3997f4-1674-4a10-87e9-28bb6a4b07bf":{
                "type":"property",
                "hierarchy":"Firstlevel"
            },
            "SecondLevel":{
                "type":"string",
                "hierarchy":"Firstlevel",
                "parent":"Firstlevel"
            },
            "SecondLevelSelectionIdca3997f4-1674-4a10-87e9-28bb6a4b07bf":{
                "type":"property",
                "hierarchy":"SecondLevel"
            },
            "Child_desc":{
                "type":"string",
                "hierarchy":"Firstlevel",
                "parent":"SecondLevel"
            },
            "Child_descSelectionIdca3997f4-1674-4a10-87e9-28bb6a4b07bf":{
                "type":"property",
                "hierarchy":"Child_desc"
            }
        }
    },
    "options":{
        "grid":{
            "type":"compact",
            "showFilter":false,
            "dragging":false,
            "showReportFiltersArea":false,
            "showTotals":"on",
            "showGrandTotals":"on",
            "showHeaders":false
        },
       ...