• 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. body {
    10. background: #e6e6e6;
    11. }
    12.  
    13. zing-grid[loading] {
    14. height: 277px;
    15. }
    16. </style>
    17. </head>
    18.  
    19. <body>
    20. <h3>`[columnResizableMaxWidth]` sets the maximum width columns can be set to when resizing.</h3>
    21. <zing-grid column-resizable-max-width=800 column-resizable-persistent column-resizable>
    22. <zg-caption>columnResizableMaxWidth Demo</zg-caption>
    23. <zg-data data='[
    24. {
    25. "name": "Maria",
    26. "number": 123
    27. },
    28. {
    29. "name": "Juanita",
    30. "number": 456
    31. },
    32. {
    33. "name": "Felicity",
    34. "number": 789
    35. }
    36. ]'>
    37. </zg-data>
    38. </zing-grid>
    39. <script>
    40. ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
    41. </script>
    42. </body>
    43.  
    44. </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>
    11. <h3>`[columnResizableMaxWidth]` sets the maximum width columns can be set to when resizing.</h3>
    12. <zing-grid column-resizable-max-width=800 column-resizable-persistent column-resizable>
    13. <zg-caption>columnResizableMaxWidth Demo</zg-caption>
    14. <zg-data data='[
    15. {
    16. "name": "Maria",
    17. "number": 123
    18. },
    19. {
    20. "name": "Juanita",
    21. "number": 456
    22. },
    23. {
    24. "name": "Felicity",
    25. "number": 789
    26. }
    27. ]'>
    28. </zg-data>
    29. </zing-grid>
    30. </body>
    31.  
    32. </html>
    1. body {
    2. background: #e6e6e6;
    3. }
    1.