#102937
tullio0106@live.it
Participant

May be you looked to a wrong codpen address

This is the html content

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Grid Cell Editing Confirm Dialog Demo</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<link rel="stylesheet" type="text/css" href="../../../source/styles/smart.default.css" />
<link rel="stylesheet" type="text/css" href="../../../styles/demos.css" />
<link rel="stylesheet" type="text/css" href="styles.css" />
<script src="../../../../common/data.js"></script>
</head>
<body class="viewport">
<div class="demo-description">
<h1>Grid Cells Editing Confirm Tullio</h1>
We implement the 'onCellUpdate' Grid function. When a cell value is edited, 'onCellUpdate' is called. That callback can be used for Client-Server validation of the Cell Editing. The function is implemented for the 'Quantity' column and we simulate Ajax call to a Web Server by using setTimeout and
confirm the changes by calling the 4th argument of 'onCellUpdate', which is a function. When we call it with 'true', changes are confirmed. Otherwise, they are canceled. In this example, when the 'Quantity' is > 10, changes are confirmed.
</div>
<smart-grid id="grid"></smart-grid>

<!-- scripts -->
<script src="../../../common/data.js"></script>
<script type="module" src="../../../source/modules/smart.grid.js">
</script>
<script type="module" src="../../../source/modules/smart.button.js">
</script>
<script type="module" src="index.js">
</script>
</body>
</html>

and the grid is there.

Tks