<!DOCTYPE html>
<html class="zg-html">
<head>
<meta charset="utf-8">
<title>ZingGrid: Blank Grid</title>
<script nonce="undefined" src="https://cdn.zinggrid.com/zinggrid.min.js"></script>
<style>
.zg-body {
background: #e6e6e6;
}
zing-grid[loading] {
height: 213px;
}
</style>
</head>
<body class="zg-body">
<h3>`[typeRadioOptions]` sets the options for type 'radio' editor. Double-click any cell in "First" column to display "radio" editor.</h3>
<zing-grid editor>
<zg-data data='[
{ "first": "Maria", "last": "John", "number": 123 },
{ "first": "David", "last": "Smith", "number": 456 },
{ "first": "Felicity", "last": "Snow", "number": 789 }
]'></zg-data>
<zg-colgroup>
<zg-column index="first" type="radio" type-radio-options='["Maria", "David", "Felicity"]'></zg-column>
<zg-column index="last"></zg-column>
<zg-column index="number"></zg-column>
</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/zinggrid.min.js"></script>
</head>
<body class="zg-body">
<h3>`[typeRadioOptions]` sets the options for type 'radio' editor. Double-click any cell in "First" column to display "radio" editor.</h3>
<zing-grid editor>
<zg-data data='[
{ "first": "Maria", "last": "John", "number": 123 },
{ "first": "David", "last": "Smith", "number": 456 },
{ "first": "Felicity", "last": "Snow", "number": 789 }
]'></zg-data>
<zg-colgroup>
<zg-column index="first" type="radio" type-radio-options='["Maria", "David", "Felicity"]'></zg-column>
<zg-column index="last"></zg-column>
<zg-column index="number"></zg-column>
</zing-grid>
</body>
</html>
.zg-body {
background: #e6e6e6;
}