summaryrefslogtreecommitdiffstats
path: root/samples/treegrid/01_basic.html
diff options
context:
space:
mode:
authorStanislau Wolski <stanislau.wolski@gmail.com>2015-08-24 20:20:22 +0300
committerStanislau Wolski <stanislau.wolski@gmail.com>2015-08-24 20:20:22 +0300
commit582b5b5355dafaf4fe427fe7bf98e2b38f07fba3 (patch)
tree9b453c4c1083d9082444cd91169d2c9aa44be5fd /samples/treegrid/01_basic.html
parentc5b18861823757d2632a06f13edb2ed639cf4ecd (diff)
downloadconnector-php-582b5b5355dafaf4fe427fe7bf98e2b38f07fba3.zip
connector-php-582b5b5355dafaf4fe427fe7bf98e2b38f07fba3.tar.gz
connector-php-582b5b5355dafaf4fe427fe7bf98e2b38f07fba3.tar.bz2
[update] minor typos in samples, latest DHTMLX
Diffstat (limited to 'samples/treegrid/01_basic.html')
-rw-r--r--samples/treegrid/01_basic.html19
1 files changed, 9 insertions, 10 deletions
diff --git a/samples/treegrid/01_basic.html b/samples/treegrid/01_basic.html
index 6b4fd36..6cbfbae 100644
--- a/samples/treegrid/01_basic.html
+++ b/samples/treegrid/01_basic.html
@@ -1,17 +1,14 @@
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML>
<html>
<head>
<title>For demo purpose only :: &1</title>
-
-
-
-
-<script src="../dhtmlx/dhtmlx.js" type="text/javascript" charset="utf-8"></script>
-<link rel="stylesheet" href="../dhtmlx/dhtmlx.css" type="text/css" charset="utf-8">
+ <script src="../dhtmlx/dhtmlx.js" type="text/javascript" charset="utf-8"></script>
+ <link rel="stylesheet" href="../dhtmlx/dhtmlx.css" type="text/css" charset="utf-8">
</head>
+
<body>
- <div id="gridbox" width="450px" height="550px" style="background-color:white;overflow:hidden"></div>
+ <div id="gridbox" width="450px" height="550px" style="background-color:white;overflow:hidden"></div>
+
<script>
if (!window.eXcell_tree)
alert("To check TreeGrid's samples you need to replace files in `dhtmlx` folder with ones from dhtmlx pro suite.");
@@ -23,10 +20,12 @@ if (!window.eXcell_tree)
mygrid.setColTypes("tree,ed,ed");
mygrid.setColSorting("connector,connector")
mygrid.init();
- mygrid.loadXML("01_basic_connector.php");
+ mygrid.load("01_basic_connector.php");
+
var dp = new dataProcessor("01_basic_connector.php");
dp.init(mygrid);
</script>
+
<input type="button" name="add" value="add row" onclick="var id=mygrid.uid(); mygrid.addRow(id,'',0); mygrid.showRow(id);">
<input type="button" name="delete" value="delete row" onclick="mygrid.deleteSelectedRows()">
<div class='code'><code><span style="color: #000000">