• Edit
  • Download
  • <!DOCTYPE html>
    <html class="zg-html">
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid: Blank Grid</title>
      <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
      <style>
        body {
          background: #e6e6e6;
        }
    
        zing-grid[loading] {
          height: 319px;
        }
      </style>
    </head>
    
    <body class="zg-body">
      <zing-grid editor-controls pager caption="Internal Subscription">
        <zg-data adapter="firebaseSDK">
          <zg-param name="collection" value="errors"></zg-param>
          <zg-param name="subscription" value="true"></zg-param>
        </zg-data>
        <zg-colgroup>
          <zg-column index="title"></zg-column>
          <zg-column index="description"></zg-column>
          <zg-column type="editor"></zg-column>
          <zg-column type="remover"></zg-column>
        </zg-colgroup>
      </zing-grid>
      <!-- The core Firebase JS SDK is always required and must be listed first -->
      <script nonce="undefined" src="https://www.gstatic.com/firebasejs/7.6.1/firebase-app.js"></script>
      <script nonce="undefined" src="https://www.gstatic.com/firebasejs/7.6.1/firebase-auth.js"></script>
      <script nonce="undefined" src="https://www.gstatic.com/firebasejs/7.6.1/firebase-firestore.js"></script>
    
      <script nonce="undefined">
        // Your web app's Firebase configuration
        var firebaseConfig = {
          apiKey: "AIzaSyD6KNAmpdt8tEwHThDIbXQvh0G1mbtGrFE",
          authDomain: "errorlog-poc.firebaseapp.com",
          databaseURL: "https://errorlog-poc.firebaseio.com",
          projectId: "errorlog-poc",
          appId: "1:519431885787:web:cb2c45dedc2a576c39cdfe"
        };
        // Initialize Firebase
        firebase.initializeApp(firebaseConfig);
      </script>
      <script>
        ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html class="zg-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 editor-controls pager caption="Internal Subscription">
        <zg-data adapter="firebaseSDK">
          <zg-param name="collection" value="errors"></zg-param>
          <zg-param name="subscription" value="true"></zg-param>
        </zg-data>
        <zg-colgroup>
          <zg-column index="title"></zg-column>
          <zg-column index="description"></zg-column>
          <zg-column type="editor"></zg-column>
          <zg-column type="remover"></zg-column>
        </zg-colgroup>
      </zing-grid>
      <!-- The core Firebase JS SDK is always required and must be listed first -->
      <script src="https://www.gstatic.com/firebasejs/7.6.1/firebase-app.js"></script>
      <script src="https://www.gstatic.com/firebasejs/7.6.1/firebase-auth.js"></script>
      <script src="https://www.gstatic.com/firebasejs/7.6.1/firebase-firestore.js"></script>
    
      <script>
        // Your web app's Firebase configuration
        var firebaseConfig = {
          apiKey: "AIzaSyD6KNAmpdt8tEwHThDIbXQvh0G1mbtGrFE",
          authDomain: "errorlog-poc.firebaseapp.com",
          databaseURL: "https://errorlog-poc.firebaseio.com",
          projectId: "errorlog-poc",
          appId: "1:519431885787:web:cb2c45dedc2a576c39cdfe"
        };
        // Initialize Firebase
        firebase.initializeApp(firebaseConfig);
      </script>
    </body>
    
    </html>
    body {
      background: #e6e6e6;
    }