Using defaultDateType to specify the default date type

Options

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="pivot-container"></div>

JavaScript

let pivot = new Flexmonster({
  container: "pivot-container",
  componentFolder: "https://cdn.flexmonster.com/",
  toolbar: true,
  global: {
    options: {
      "defaultDateType": "date string",
      "datePattern": "dd/MM/yyyy"
    }
  },
  report: {
    dataSource: {
      data: getData()
    },
    options: {
    	grid: {
      	type: "flat"
      },
        defaultDateType: "date string",
  			datePattern: "MM-dd-yyyy",
    }
  }
});

function getData() {
  return [
   {
      "Date": "2013-10-28T00:00:00.000Z",
      "Event": "Performance",
      "Price": 34
    },
   {
      "Date": null,
      "Event": "Concert",
      "Price": 56
    },
    {
      "Date": "2013-10-18T00:00:00.000Z",
      "Event": "Cinema",
      "Price": 10
    }
  ]
}