<!DOCTYPE html> <html class="zg-html"> <head> <meta charset="utf-8"> <title>ZingGrid: Blank Grid</title> <script nonce="undefined" src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js"></script> <style> body { background: #e6e6e6; } zing-grid[loading] { height: 686px; } </style> </head> <body class="zg-body"> <h3>When `[context-menu]` is enabled, columns can be frozen through the menu (right click).</h3> <zing-grid pager page-size=10 context-menu> <zg-caption>frozen Demo</zg-caption> <zg-data src="https://cdn.zinggrid.com/datasets/got-deaths.json"></zg-data> <zg-colgroup> <zg-column index="order" frozen="left"></zg-column> <zg-column index="season"></zg-column> <zg-column index="episode"></zg-column> <zg-column index="character_killed"></zg-column> <zg-column index="killer"></zg-column> <zg-column index="method"></zg-column> <zg-column index="method_cat"></zg-column> <zg-column index="reason"></zg-column> <zg-column index="location"></zg-column> <zg-column index="allegiance"></zg-column> <zg-column index="importance"></zg-column> </zg-colgroup> </zing-grid> <script> ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']); </script> </body> </html>
<!DOCTYPE html> <html class="zg-html"> <head> <meta charset="utf-8"> <title>ZingGrid: Blank Grid</title> <script src="https://cdn.zinggrid.com/dev/zinggrid-dev.min.js"></script> </head> <body class="zg-body"> <h3>When `[context-menu]` is enabled, columns can be frozen through the menu (right click).</h3> <zing-grid pager page-size=10 context-menu> <zg-caption>frozen Demo</zg-caption> <zg-data src="https://cdn.zinggrid.com/datasets/got-deaths.json"></zg-data> <zg-colgroup> <zg-column index="order" frozen="left"></zg-column> <zg-column index="season"></zg-column> <zg-column index="episode"></zg-column> <zg-column index="character_killed"></zg-column> <zg-column index="killer"></zg-column> <zg-column index="method"></zg-column> <zg-column index="method_cat"></zg-column> <zg-column index="reason"></zg-column> <zg-column index="location"></zg-column> <zg-column index="allegiance"></zg-column> <zg-column index="importance"></zg-column> </zg-colgroup> </zing-grid> </body> </html>
body { background: #e6e6e6; }