JSFiddle - React, Tailwind, and code Playground

by Flexmonster Pivot Table

HTML

<link rel="stylesheet" href="https://s3.amazonaws.com/flexmonster/2.3/demo.css">
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>

<div id="pivotContainer"></div>

JavaScript

var pivot = new Flexmonster({
  container: "pivotContainer",
  componentFolder: "https://cdn.flexmonster.com/",
  toolbar: true,
  report: {
    dataSource: {
      data: getData(),
      mapping: {
        company_Code: {
          type: "string"
        },
        created_On: {
          type: "string"
        },
        last_Price: {
          type: "id"
        }
      }
    },
    options: {
      grid: {
        type: "flat"
      },
      configuratorActive: true
    }
  }
});

function getData() {
  return [{
    "company_Code": 1,
    "created_On": "26-Aug-2014 10:07:08",
    "last_Price": 247800
  }];
}