本文整理汇总了PHP中GridConnector::set_config方法的典型用法代码示例。如果您正苦于以下问题:PHP GridConnector::set_config方法的具体用法?PHP GridConnector::set_config怎么用?PHP GridConnector::set_config使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类GridConnector
的用法示例。
在下文中一共展示了GridConnector::set_config方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ConvertService
<?php
require_once "../config.php";
$res = mysql_connect($mysql_server, $mysql_user, $mysql_pass);
mysql_select_db($mysql_db);
require "../../codebase/grid_connector.php";
require "../../codebase/convert.php";
$convert = new ConvertService("http://dhtmlxgrid.appspot.com/export/excel");
$convert->excel();
$grid = new GridConnector($res);
$config = new GridConfiguration();
$grid = new GridConnector($res);
$grid->set_config($config);
$grid->render_table("grid50");
示例2: GridConnector
<?php
require_once "../../config.php";
$res = mysql_connect($mysql_server, $mysql_user, $mysql_pass);
mysql_select_db($mysql_db);
require "../../../codebase/grid_connector.php";
$grid = new GridConnector($res);
$grid->enable_log("temp.log", true);
$grid->set_config(true);
$grid->dynamic_loading(100);
$grid->render_table("grid50000", "item_id", "item_nm,item_cd");
示例3: PDO
<?php
require_once "../config.php";
require "../../codebase/db_pdo.php";
$res = new PDO($mysql_server, $mysql_user, $mysql_pass);
require "../../codebase/grid_connector.php";
$grid = new GridConnector($res, "PDO");
$grid->set_config(false);
$grid->dynamic_loading(100);
$grid->render_table("grid50000", "item_id", "item_nm,item_cd");
示例4: ConvertService
<?php
require_once "../../config.php";
$res = mysql_connect($mysql_server, $mysql_user, $mysql_pass);
mysql_select_db($mysql_db);
require "../../../codebase/grid_connector.php";
require "../../../codebase/convert.php";
$convert = new ConvertService("http://192.168.1.16/dhtmlxdev/ExportTools/grid2pdf/generate.php");
$grid = new GridConnector($res);
$grid->set_config(new GridConfiguration());
$grid->render_table("grid50");