summaryrefslogtreecommitdiffstats
path: root/samples/grid/xx_sample_mysqli.html
blob: 0b52452e93c50007bbb8de3f985c2a1fc4571fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE HTML>
<html>
<head>
	<title>MySQLi connector with dhtmlxGrid - read-only version</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>
		function doOnLoad() {
			mygrid = new dhtmlXGridObject('gridbox');
			mygrid.setImagePath("./codebase/imgs/");
			mygrid.setSkin('dhx_skyblue');
			mygrid.setHeader("Event name, Details");
			mygrid.setInitWidths("300,*")
			mygrid.setColTypes("ro,ro");
			mygrid.init();
			mygrid.loadXML("xx_sample_mysqli_connector.php");
		}
	</script>
</head>
<body onload="doOnLoad();">
	<div id="gridbox" style="width: 700px; height: 300px; background-color:white;overflow:hidden; border: 1px solid #dfdfdf;"></div>
</body>
</html>