Index
Examples
Download
Document
About us
Language:
Powered by PhpGrid | Template designed by Redline(Spinz )
Document
Sample
basic:One SQL staement
basic:Specify the table name and field name
basic:sql query
basic:Display Control
basic:Hide rows
basic:Form
basic:Access control
general:Form field type
general:Form the column control
general:Additional properties of the form fields
general:Validation
general:WYSIWYG editor,
general:Display more than one grid
general:Replacement of the skin
advanced:Customize the display data
advanced:Custom form fields
advanced:Overloaded form
Links
Code:
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
Click here to run