<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ZingSoft demo</title>
<script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
<style>
zing-grid[loading] {
height: 17px;
}
</style>
</head>
<body>
<zing-grid>
<zg-caption>code column type Demo</zg-caption>
<zg-colgroup>
<zg-column index="code" type="code"></zg-column>
</zg-colgroup>
<zg-data data='[
{
"code": "&lt;h1&gt;Hello code&lt;/h1&gt;"
},
{
"code": ".card { color: #09885a; }"
},
{
"code": "const sum = (a, b) => a + b;"
},
{
"code": "{ \"id\": 1, \"active\": true }"
},
{
"code": "npm install zinggrid"
},
{
"code": "SELECT * FROM users;"
}
]'>
</zg-data>
</zing-grid>
<script>
ZingGrid.setLicense(['26ccbfec16b8be9ee98c7d57bee6e498']);
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ZingSoft demo</title>
<script src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
</head>
<body>
<zing-grid>
<zg-caption>code column type Demo</zg-caption>
<zg-colgroup>
<zg-column index="code" type="code"></zg-column>
</zg-colgroup>
<zg-data data='[
{
"code": "&lt;h1&gt;Hello code&lt;/h1&gt;"
},
{
"code": ".card { color: #09885a; }"
},
{
"code": "const sum = (a, b) => a + b;"
},
{
"code": "{ \"id\": 1, \"active\": true }"
},
{
"code": "npm install zinggrid"
},
{
"code": "SELECT * FROM users;"
}
]'>
</zg-data>
</zing-grid>
</body>
</html>