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` $expamle->fields = array("cus_id","cus_name","cus_email","cus_address","cus_phone"); $expamle->fieldDisplays = array("cus_name"=>"Customer's name","cus_email"=>"Email","cus_address"=>"Address","cus_phone"=>"Phone"); $expamle->title = "List of customer"; $expamle->formTable = "`customer`"; $expamle->formFields = array("cus_name"=>"Customer's name", "cus_email"=>"Email", "cus_address"=>"Address", "cus_phone"=>"Phone"); //easy to change Formfield 's attribute $expamle->formAttributes = array("cus_name"=>'style="background:#FFFF00" ', "cus_email"=>'readonly="true" style="background:#CCCCCC"'); $html = $expamle->display(); ?>
Customers
back
, Add form:
here
Click here to run