• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid: Simple Grid</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. zing-grid[loading] {
    14. height: 373px;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body class="zg-body">
    20. <zing-grid caption="EPL Top Scorers" layout="row" layout-controls="disabled" zebra>
    21. <zg-data data='[
    22. {
    23. "playerName": "Eden Hazard",
    24. "playerClub": "Chelsea",
    25. "goalsScored": 5
    26. },
    27. {
    28. "playerName": "Aleksandar Mitrovic",
    29. "playerClub": "Fulham",
    30. "goalsScored": 5
    31. },
    32. {
    33. "playerName": "Sergio Agüero",
    34. "playerClub": "Manchester City",
    35. "goalsScored": 4
    36. },
    37. {
    38. "playerName": "Romelu Lukaku",
    39. "playerClub": "Manchester United",
    40. "goalsScored": 4
    41. },
    42. {
    43. "playerName": "Sadio Mané",
    44. "playerClub": "Liverpool",
    45. "goalsScored": 4
    46. }
    47. ]'></zg-data>
    48. </zing-grid>
    49. <script>
    50. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    51. </script>
    52. </body>
    53.  
    54. </html>
    1. <!DOCTYPE html>
    2. <html>
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid: Simple Grid</title>
    7. <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. </head>
    9.  
    10. <body class="zg-body">
    11. <zing-grid caption="EPL Top Scorers" layout="row" layout-controls="disabled" zebra>
    12. <zg-data data='[
    13. {
    14. "playerName": "Eden Hazard",
    15. "playerClub": "Chelsea",
    16. "goalsScored": 5
    17. },
    18. {
    19. "playerName": "Aleksandar Mitrovic",
    20. "playerClub": "Fulham",
    21. "goalsScored": 5
    22. },
    23. {
    24. "playerName": "Sergio Agüero",
    25. "playerClub": "Manchester City",
    26. "goalsScored": 4
    27. },
    28. {
    29. "playerName": "Romelu Lukaku",
    30. "playerClub": "Manchester United",
    31. "goalsScored": 4
    32. },
    33. {
    34. "playerName": "Sadio Mané",
    35. "playerClub": "Liverpool",
    36. "goalsScored": 4
    37. }
    38. ]'></zg-data>
    39. </zing-grid>
    40. </body>
    41.  
    42. </html>
    1. .zg-body {
    2. background: #e6e6e6;
    3. }
    1.