• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid Demo</title>
    7. <script nonce="undefined" src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js"></script>
    8. <style>
    9. html,
    10. body {
    11. height: 100%;
    12. width: 100%;
    13. margin: 0;
    14. padding: 0;
    15. }
    16.  
    17. zing-grid[loading] {
    18. height: 2573px;
    19. }
    20. </style>
    21. </head>
    22.  
    23. <body>
    24.  
    25. <!--
    26. <zing-grid pager>
    27. <zg-data adapter="firebase" src="https://zinggrid-examples.firebaseio.com/movies/">
    28. <zg-param name="loadByScroll" value="true"></zg-param>
    29. <zg-param name="sortBy" value='"director"'></zg-param>
    30. </zg-data>
    31. </zing-grid>
    32. -->
    33.  
    34. <zing-grid pager src="https://zinggrid-examples.firebaseio.com/movies/"></zing-grid>
    35.  
    36. <script>
    37. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    38. </script>
    39. </body>
    40.  
    41. </html>
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid Demo</title>
    7. <script src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js"></script>
    8. </head>
    9.  
    10. <body>
    11.  
    12. <!--
    13. <zing-grid pager>
    14. <zg-data adapter="firebase" src="https://zinggrid-examples.firebaseio.com/movies/">
    15. <zg-param name="loadByScroll" value="true"></zg-param>
    16. <zg-param name="sortBy" value='"director"'></zg-param>
    17. </zg-data>
    18. </zing-grid>
    19. -->
    20.  
    21. <zing-grid pager src="https://zinggrid-examples.firebaseio.com/movies/"></zing-grid>
    22.  
    23. </body>
    24.  
    25. </html>
    1. html,
    2. body {
    3. height: 100%;
    4. width: 100%;
    5. margin: 0;
    6. padding: 0;
    7. }
    1.