• Edit
  • Download
    1. <!DOCTYPE html>
    2. <html class="zg-html">
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid: Blank Grid</title>
    7. <script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. <style>
    9. body {
    10. background: #e6e6e6;
    11. }
    12.  
    13. zing-grid[loading] {
    14. height: 669px;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body class="zg-body">
    20.  
    21. <h3>`When `column-drag` is enabled, you can drag columns in and out of the frozen area.</h3>
    22. <zing-grid frozen-columns-right=1 frozen-columns-left=1 column-drag pager context-menu page-size=10>
    23. <zg-caption>Frozen Columns + Dragging Demo</zg-caption>
    24. <zg-data src="https://cdn.zinggrid.com/datasets/got-deaths.json">
    25. </zg-data>
    26. </zing-grid>
    27.  
    28. <script>
    29. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    30. </script>
    31. </body>
    32.  
    33. </html>
    1. <!DOCTYPE html>
    2. <html class="zg-html">
    3.  
    4. <head>
    5. <meta charset="utf-8">
    6. <title>ZingGrid: Blank Grid</title>
    7. <script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
    8. </head>
    9.  
    10. <body class="zg-body">
    11.  
    12. <h3>`When `column-drag` is enabled, you can drag columns in and out of the frozen area.</h3>
    13. <zing-grid frozen-columns-right=1 frozen-columns-left=1 column-drag pager context-menu page-size=10>
    14. <zg-caption>Frozen Columns + Dragging Demo</zg-caption>
    15. <zg-data src="https://cdn.zinggrid.com/datasets/got-deaths.json">
    16. </zg-data>
    17. </zing-grid>
    18.  
    19. </body>
    20.  
    21. </html>
    1. body {
    2. background: #e6e6e6;
    3. }
    1.