• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid Demo</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
      <style>
        html,
        body {
          height: 100%;
          width: 100%;
          margin: 0;
          padding: 0;
        }
    
        zing-grid[loading] {
          height: 569px;
        }
      </style>
    </head>
    
    <body>
      <zing-grid>
        <zg-data options='{"loadByScroll": true, "sortByKey": "orderBy", "sortBy": "\"title\"", "queryString": "startAt=\"D\"", "src": "https://zinggrid-examples.firebaseio.com/movies/"}'></zg-data>
      </zing-grid>
    
      <script></script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    	<head>
        <meta charset="utf-8">
        <title>ZingGrid Demo</title>
    		<script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
    	</head>
    	<body>
    		<zing-grid>
          <zg-data options='{"loadByScroll": true, "sortByKey": "orderBy", "sortBy": "\"title\"", "queryString": "startAt=\"D\"", "src": "https://zinggrid-examples.firebaseio.com/movies/"}'></zg-data>
        </zing-grid>
        
    	</body>
    </html>
    html, body {
    	height:100%;
    	width:100%;
    	margin:0;
    	padding:0;
    }