首页
Examples
下载
文档
关于
Language:
Powered by PhpGrid | Template designed by Redline(Spinz )
文档
实 例
简单:一条SQL
简单:指定表名和字段名
简单:查询
简单:显示控制
简单:隐藏行
简单:表单
简单:权限控制
一般:表单字段类型
一般:表单列控制
一般:表单字段附加属性
一般:表单验证
一般:使用在线编辑器
一般:显示多个grid
一般:新增自定义列
一般:更换皮肤
扩展:自定义显示数据
扩展:自定义表单字段
扩展:重写表单
友情链接
代码:
tables="`customer`"; //aim to-> SELECT `cus_id` ,`cus_name`,`cus_address`,`cus_phone` FROM `customer` $gridObj->fields = array("cus_id","cus_name","cus_address","cus_phone"); $gridObj->fieldDisplays = array("cus_name"=>"Customer's name","cus_address"=>"Address","cus_phone"=>"Phone"); $gridObj->title="List of customer"; $gridHtml=$gridObj->display(); //second $viewObj = new Dataview(); $viewObj->sql = "SELECT * FROM `customer` left join `user` on user_id=cus_userid"; $viewObj->fieldDisplays = array("cus_name"=>"Customer","user_name"=>"User","cus_pic"=>"Pictrue","cus_address"=>"Address","cus_phone"=>"Phone"); $viewHtml = $viewObj->display(); ?>
Customers
当前位置:
数据列表
, 添加请点
这里
更换皮肤
请选择
oranges-in-the-sky.css
bluedream.css
classic_somehow.css
itunes.css
mintgreen.css
seaglass.css
pure_blue.css
dartblue.css
点击直接运行