diff options
Diffstat (limited to 'samples/treegrid/04_custom_styles.html')
-rw-r--r-- | samples/treegrid/04_custom_styles.html | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/samples/treegrid/04_custom_styles.html b/samples/treegrid/04_custom_styles.html index 45830d4..8c9b5fc 100644 --- a/samples/treegrid/04_custom_styles.html +++ b/samples/treegrid/04_custom_styles.html @@ -1,16 +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."); @@ -22,8 +20,9 @@ if (!window.eXcell_tree) mygrid.setColTypes("tree,ed,ed"); mygrid.setColSorting("connector,connector") mygrid.init(); - mygrid.loadXML("04_custom_styles_connector.php"); + mygrid.load("04_custom_styles_connector.php"); </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"> |