33 lines
		
	
	
		
			1000 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1000 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 | |
| 	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 | |
| <html>
 | |
| <head>
 | |
| 	<title>Dynamic loading</title>
 | |
| 	<script src="../dhtmlx/dhtmlx.js" type="text/javascript"></script>
 | |
| 	<script src="../../codebase/connector.js" type="text/javascript" charset="utf-8"></script>
 | |
| 	<link rel="STYLESHEET" type="text/css" href="../dhtmlx/dhtmlx.css">  
 | |
| 	<style type="text/css" media="screen">
 | |
| 		body { background-color:#EBEBEB; };
 | |
| 	</style>
 | |
| </head>
 | |
| <body>
 | |
| 	<h1>Dynamic loading</h1>
 | |
| 	<p>Data is loaded to the DataView on demand</p>
 | |
| 	
 | |
| 	<div id="data_container" style="border:1px solid #A4BED4; background-color:white; width:710px;height:392px;"></div>
 | |
| 	<br>
 | |
| 	<script>
 | |
| 		data = new dhtmlXDataView({
 | |
| 			container:"data_container",
 | |
| 			type:{
 | |
| 				template:"<span class='dhx_strong'>{obj.Maintainer}</span>{obj.Package} <span class='dhx_light'>{obj.Version}</span>",
 | |
| 				height:35
 | |
| 			}
 | |
| 		});
 | |
| 		data.load("02_dynamic_loading.php");
 | |
| 	</script>
 | |
| 
 | |
| </body>
 | |
| </html>
 | |
| 
 |