• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
      <style>
        .zg-body {
          background: #e6e6e6;
        }
    
        zing-grid[loading] {
          height: 261px;
        }
      </style>
    </head>
    
    <body class="zg-body">
    
      <zing-grid>
        <zg-colgroup>
          <zg-column index="d1" header="Input String"></zg-column>
          <zg-column index="d1" header="Date format" type="date" type-date-format="dddd, MMMM Do YYYY"></zg-column>
          <zg-column index="d1" header="Date From Now" type="date" type-date-from-now></zg-column>
        </zg-colgroup>
        <zg-data data='[{"d1": "12/30/2018 12:01:01 AM"}, {"d1": "1/1/2015 1:32:55 PM"}, {"d1": "1/1/2016 1:32:55 PM"}, {"d1": 1451683975567}]'></zg-data>
      </zing-grid>
    
      <script>
        ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    </head>
    
    <body class="zg-body">
    
      <zing-grid>
        <zg-colgroup>
          <zg-column index="d1" header="Input String"></zg-column>
          <zg-column index="d1" header="Date format" type="date" type-date-format="dddd, MMMM Do YYYY"></zg-column>
          <zg-column index="d1" header="Date From Now" type="date" type-date-from-now></zg-column>
        </zg-colgroup>
        <zg-data data='[{"d1": "12/30/2018 12:01:01 AM"}, {"d1": "1/1/2015 1:32:55 PM"}, {"d1": "1/1/2016 1:32:55 PM"}, {"d1": 1451683975567}]'></zg-data>
      </zing-grid>
    
    </body>
    
    </html>
    .zg-body {
      background: #e6e6e6;
    }