• 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/zinggrid.min.js"></script>
    8. <style>
    9. .zg-body {
    10. background: #e6e6e6;
    11. }
    12.  
    13. .zg-body zing-grid[loading] {
    14. height: 400px;
    15. }
    16.  
    17. .zg-body zing-grid+zing-grid {
    18. margin-top: 2rem;
    19. }
    20.  
    21. zing-grid[loading] {
    22. height: 376px;
    23. }
    24. </style>
    25. </head>
    26.  
    27. <body class="zg-body">
    28.  
    29. <!-- Next/Prev Arrow Controls -->
    30. <zing-grid pager pager-type="button-arrows" page-size="1" data='[
    31. { "first": "Maria", "last": "John", "number": 123 },
    32. { "first": "David", "last": "Smith", "number": 456 },
    33. { "first": "Felicity", "last": "Snow", "number": 789 }
    34. ]'>
    35. </zing-grid>
    36.  
    37. <!-- Next/Prev Text Controls -->
    38. <zing-grid pager pager-type="button-text" page-size="1" data='[
    39. { "first": "Maria", "last": "John", "number": 123 },
    40. { "first": "David", "last": "Smith", "number": 456 },
    41. { "first": "Felicity", "last": "Snow", "number": 789 }
    42. ]'>
    43. </zing-grid>
    44. <script>
    45. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    46. </script>
    47. </body>
    48.  
    49. </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/zinggrid.min.js"></script>
    8. </head>
    9.  
    10. <body class="zg-body">
    11.  
    12. <!-- Next/Prev Arrow Controls -->
    13. <zing-grid pager pager-type="button-arrows" page-size="1" data='[
    14. { "first": "Maria", "last": "John", "number": 123 },
    15. { "first": "David", "last": "Smith", "number": 456 },
    16. { "first": "Felicity", "last": "Snow", "number": 789 }
    17. ]'>
    18. </zing-grid>
    19.  
    20. <!-- Next/Prev Text Controls -->
    21. <zing-grid pager pager-type="button-text" page-size="1" data='[
    22. { "first": "Maria", "last": "John", "number": 123 },
    23. { "first": "David", "last": "Smith", "number": 456 },
    24. { "first": "Felicity", "last": "Snow", "number": 789 }
    25. ]'>
    26. </zing-grid>
    27. </body>
    28.  
    29. </html>
    1. .zg-body {
    2. background: #e6e6e6;
    3. }
    4.  
    5. .zg-body zing-grid[loading] {
    6. height: 400px;
    7. }
    8.  
    9. .zg-body zing-grid+zing-grid {
    10. margin-top: 2rem;
    11. }
    1.