summaryrefslogtreecommitdiffstats
path: root/samples/export/pdf.php
blob: 3a097244d1a3a5e2aa6019c9b95e1ade2352d99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
	require_once("../config.php");
	$res= new PDO($mysql_server,$mysql_user,$mysql_pass);
	
	

	require("../../codebase/grid_connector.php");
	require("../../codebase/convert.php");
	
	$convert = new ConvertService("http://dhtmlxgrid.appspot.com/export/pdf");
	
	$grid = new GridConnector($res, "PDO");
	$grid->set_limit(100);
	$config = new GridConfiguration();
	
	$config->set_convert_mode(true);
	$grid->set_config($config);
	$grid->render_table("grid50000");
?>