hello
This example does not work correctly. No displays alerts when 2 and 3 columns are blank
code …
Validation with message <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlx.css"/>
<script src="../../../codebase/dhtmlx.js"></script>
1st and 4th columns must be greater than 0, second and third columns not empty.
Update few rows and press "Update".</p>
<div id="gridbox" style="width:600px;height:270px;overflow:hidden"></div>
<p><a href="javascript:void(0)" onclick="mygrid.addRow((new Date()).valueOf(),[0,'','','',false,'na',false,''],mygrid.getRowIndex(mygrid.getSelectedId()))">Add row</a></p>
<p><a href="javascript:void(0)" onclick="mygrid.deleteSelectedItem()">Remove Selected Row</a></p>
<input type="button" name="some_name" value="update" onclick="myDataProcessor.sendData();">