• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
        <meta charset="utf-8">
        <title>ZingGrid: Blank Grid</title>
        <script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
        <style>
            body {
                background: #e6e6e6;
            }
    
            zing-grid[loading] {
                height: 197px;
            }
        </style>
    </head>
    
    <body>
    
        <zing-grid caption="MongoDB Users" compact="" zebra="" data='[{"_id":"5b6a098834a76e08a9dd779c","name":"Tim","age":21}, {"_id":"5b6a098834a76e08a9dd779d","name":"Alice","age":30}, {"_id":"5b6a098834a76e08a9dd779e","name":"Henry","age":45}]' role="grid" viewport="tablet-portrait">
            <zg-colgroup>
                <zg-column index="name"></zg-column>
            </zg-colgroup>
        </zing-grid>
    
        <script></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" defer></script>
    </head>
    
    <body>
    
    	<zing-grid caption="MongoDB Users" compact="" zebra=""
    		data='[{"_id":"5b6a098834a76e08a9dd779c","name":"Tim","age":21}, {"_id":"5b6a098834a76e08a9dd779d","name":"Alice","age":30}, {"_id":"5b6a098834a76e08a9dd779e","name":"Henry","age":45}]'
    		role="grid" viewport="tablet-portrait">
        <zg-colgroup>
        <zg-column index="name"></zg-column>
      </zg-colgroup>
    	</zing-grid>
    
    </body>
    
    </html>
    body{background:#e6e6e6;}