with usage example
For Live Support, Add in Gtalk
For Community Support
UPDATE (19th Oct 2018): Released v2.6
There are a number of significant updates in this version that we hope you will like, some of the key highlights mentioned below.
- Overall User Interface Enhancement, Font-awesome Icons, Shaded border, Tooltips
- Optimized for mobile devices
- Automatic hiding of columns on small device breakpoints
- Enhanced Excel Style navigation, just like Google Sheets & MS Excel with no saving delay.
- Added Tooltips where required. Added ellipses (…) for long content.
- Lookup search, Numeric Range search, Global search
- Lookup edit type and it will result following searchable lookup dropdown.
- Exporting single row (e.g. Sales receipts)
- Predefined Search Templates
- URL based grid filtering (filters permalink)
- Directly Open Add Form, instead of grid
- Read-only preset of grid (e.g. Reports) + Dark-One theme
- Optimized Database drivers supported
- And finally, great experience on modern browsers.
Notable Fixes & Updates:
- Selecting specific field to map on imported CSV file
- Updated Excel export library included
- Updated PDF export library included
- Updated Database Abstraction library included
- Important Security Fixes (XSS, SQL injection)
- Added set_titles function to override titles
- Added rowheight property to increase row space
- Security: File upload File Extension Filtering
- Excel mode: On enter move down or next
- Replaced CKeditor with Trumbowyg editor due to licensing limits
- Auto remove uploaded image on close and cancel dialog
- Excel view: Textarea shift enter for new line
- Around 200 fixes and updates.
Get it from main PHP Grid website.
UPDATE (17th July 2016): Tons of New Features Updated …
Custom Forms: Sometime we need custom Add or Edit forms for data entry purpose. With this feature it’s now doable to connect your HTML Forms with PHP Grid and it will use PHP Grid API for add/edit operations.
Multiple Files Uploading: Now PHP Grid support multiple file upload option. You can multi-select the files as in screenshot and upload to server.
Firebird & SQLite Database Editor Support: These fast, slick and reliable databases will help in running portable apps with PHP Grid.
Search with Multiple Group Conditions: We’ve added most robust and efficient complex searching method in PHPGrid.
Grid with Vertical Header Text: When we have many columns in a grid with less amount of data in cells, there is a requirement to have vertical text in column headers to improve overall visibility.
Exporting selected Columns & Rows (at Runtime): Now you can export selected rows and columns at runtime. This means no code change, Export selection options are now on accessible with grid operations toolbar.
Multiselect Filter in PHPGrid: Filter columns having a dropdown with checkboxes to select multiple items. It also support textbox to quickly search your desired item within filter options. This is similar to excel like auto filtering.
Integrating Select2 with PHPGrid: Now you can use ‘Select2‘ control with PHP Grid’s Add or Update operations. Select2 is a jQuery based replacement for select boxes.
New Additions to Form Layout Design: You can have 2, 4, 6 column layout in your Add or Edit dialog forms of PHP Grid.
Multiple Subgrids at Same level: Added a new feature, that allow you to have multiple subgrids at same level.
UPDATE (26th Mar, 2015):
A lot of exciting new features are added in this product. The magic is it’s all transparent using PHP Class. You can need to switch on/off the feature with no backend complex jqgrid/php coding.
Search with Multiple Group Conditions
This enables the more advanced search dialog allowing to add any number of complex group conditions. The user can now add or delete an unlimited number of conditions to perform the search as shown in screenshot.
Visit www.phpgrid.org/updates and subscribe to RSS / G+ or Twitter feed.
UPDATE (19th Nov, 2014):
We have rolled out several features that we wish our visitors to be aware of.
1) Multiselect Filter:
Added a new filter option, that let you filter columns having a dropdown with checkboxes to select multiple items. It also support textbox to quickly search your desired item within filter options. This is similar to excel like auto filtering.
Live Demo: http://www.phpgrid.org/demo/demos/integrations/multiselect-filter.php
2) Select2 Integration:
Now you can use ‘Select2‘ control with PHP Grid’s Add or Update operations. Select2 is a jQuery based replacement for select boxes. It supports searching, with in your large select box data items. It gives behavior similar to ‘Combo-box’ control of Microsoft development tools.
3) New Additions to Form Layout Design:
We have made several additions in our customized dialog layout feature.
1) You can have 2, 4, 6 column layout in your Add or Edit dialog forms of PHP Grid.
2) You can also Add sections (sub-titles) within form to separate input data group.
3) A field can span to several columns where required. (e.g. Id)
4) Custom form buttons are also supported. (e.g. Load Default)
Visit official website for more www.phpgrid.org/ -> Updates
UPDATE (2nd May, 2013): New Feature Updates
New features include Autocomplete option for fast data lookup, Column based formatting, Clone Records, Twitter Bootstrap Integration, Grouping Headers and File Upload Option. Visit official website for more www.phpgrid.org.
UPDATE (4th Feb, 2013): Released version v1.4.8 (for premium customers)
New featured examples include HTML / WYSIWYG editor integration, FancyBox integration, Loading Grid from phpArray, Conditional formatting, Conditional Data display, Controlling multiple detail grids from master, Server side validation, Custom client side validation, MySQLi support added. Visit official website for more www.phpgrid.org.
Italia: Genera pienamente funzionale griglia PHP in soli 7 linee di codice. Aggiungi abilitanti, Modifica, Del, Ricerca, Ordina, Page, temi ecc PHP Ajax DataGrid di controllo si basa sulla jqGrid.
This piece of code will result in fully functional JQuery Ajax-ified PHP Datagrid with:
- Adding record
- Editing record
- Delete record
- Auto-filter Search
- Sorting the Data
- Pagination (customizable)
- Grouping Display By Column (with aggregate summary)
- Date-picker Integration
- Custom Display Formatter (dropdown/checkbox/image/password/link etc)
- Multilingual Support (Italian, French, German, Arabic, Chinese etc)
- RTL Support and UTF8 Support
- Customizable Themes (using ThemeRoller)
- No time limit in Free version
- — Premium Features —
- Integration with all Major Databases (mysql,pgsql,mssql … and odbc support)
- Master-Detail Subgrid (multi-level hierarchy) *
- Custom Events for own Add/Update/Delete implementations *
- Inline Row Addition
- Export to Excel *
- Export to PDF (with Custom PDF formats) *
- Source Code (neat clean with comments) *
- Technical Support in Integration *
- Free Upgrades (on request)*
- Advance Search *
- Excel like Navigation *
- Unlimited Developers Usage License
- Unlimited Production Website License
- Unlimited Themes Support (Theme roller)
Here is the PHP Code …
include("jqgrid.php"); $g = new jqgrid(); $grid["caption"] = "My Sample Grid"; // set grid customizable params $g->set_options($grid); $g->table = "tags"; // db table for CRUD operations. // You can also specify SQL query for displaying data (download code with examples) // $g->select_command = "select f1,f2,f3 from tags"; $out = $g->render("my_grid_1"); // render grid ... and in HTML after including JS files ...
Need Customization or Full Source Code?
– Full source code is flexible and new custom features can be added easily
– Full source code can be given after payment of $50 of appreciation
– Technical Support for component integration (on need basis)
– Free Upgrades & Bug fixes (on request)
– If interested Contact Me
Free version has no time limitation, but source code is encrypted and some marked (*) features are not allowed.
with usage example
UPDATE (15th Jan, 2013): New featured examples include Custom toolbar button, Export to CSV, Date Time picker control, Open grid in edit mode by default, Added more themes (24 total), Add Data Grouping example + updated documentation. Visit official website for more www.phpgrid.org.
UPDATE (11th Nov, 2012): New featured examples include Multiple grids, Master-detail non hierarchical grid, Custom validation, Bar graph with updated documentation. Visit official website for more www.phpgrid.org.
UPDATE (31st July, 2012): New featured examples include Postgresql integration samples, Conditional Display of Buttons / Data in Rows. Product now got a new home www.phpgrid.org with a new version 1.4.6. Refer this site for all future updates.
– Bulk Updates
– Custom JS validation
– Excel view like google-docs (auto refresh, row/cell lock)
UPDATE: Version 1.4.5 is available (February 12, 2012) – for paid members
– support for all major databases (mysql,pgsql,mssql,sybase … and odbc support) (db-layer.php)
– inline row addition (excel_view.php)
– pdf export custom template sample (export-pdf.php)
– export to pdf/excel in same grid
– fix for non integer primary key
– fix for mysql keyword based column name
– Fix for non-integer PK column
– multiselect fix in lib jqgrid 4.3.1
UPDATE: 21st December, 2011
Version 1.4 is available
– Datepicker integration
– Group by field
– Runtime change “group by” field
– Password mask formatter / edittype
– Excel export support for numeric columns
UPDATE: 21st July, 2011
Version 1.3 is available
– PDF export feature (export-pdf.php)
– Multiple fonts in pdf export
– External link with grid data (external-link.php)
– Export filtered/all data option
– Export specific columns (export-pdf.php, $col[“export”] = false;)
– persist where filter in export option
– Jquery fix for IE
– utf8 encoding fix
– json fix for php 5.1
– slashes fix
UPDATE: 31st December, 2010
1. Version 1.2 is available
– Several bug fixes (with thanks to all reporters)
– Support for Subqueries
– Must review README.txt when migration from previous implementations
– Get latest version from above link
2. Image Formatter
Introduced image formatter to display image in grid, if URL is fetched from DB.
$col[“formatter”] = “image”; // format as image — if data is image url e.g. http://<domain>/test.jpg
$col[“formatoptions”] = array(“width”=>’20’,”height”=>’30’); // image width / height etc
3. Excel like Navigation
– Navigate through arrow keys
– Enter to Edit / Save
– Include Intrinsic Operations
UPDATE: 2nd November, 2010
Several fixes and incorporated in latest version. Please get your latest copy.
* Support for formatters e.g.
$col[“formatter”] = “date”; // format as date
$col[“formatoptions”] = array(“srcformat”=>’Y-m-d’,”newformat”=>’d/m/Y’); // format as date
* Cell editing navigation support, like excel
* Table alias fields are fixed
* Enabled support for GROUP BY custom query
* Export excel fix for ? based url
UPDATE: 5th October, 2010
Following features are now incorporated in free version …
1. Sub-Grid/ Master Detail support
And it is available with all main operations … like search/add/edit/delete/sort/paging etc. You can have multi-level subgrids.
2. Custom Events Support
Now you can write you own custom implementations on UPDATE / INSERT / DELETE.
E.g. code …
// params are array(<function-name>,<class-object> or <null-if-global-func>,<continue-default-operation>)
$e[“on_insert”] = array(“add_client”, null, false);
$e[“on_update”] = array(“update_client”, null, true);
$e[“on_delete”] = array(“delete_client”, null, true);
Technical FAQs / issues available here
- Custom Display Formatter (dropdown/checkbox/image/password etc)
- RTL Support and UTF8 Support
Genera pienamente funzionale griglia PHP in soli 7 linee di codice. Aggiungi abilitanti, Modifica, Del, Ricerca, Ordina, Page, temi ecc PHP Ajax DataGrid di controllo si basa sulla jqGrid.
UPDATE (6th June, 2012): Product now got a new home ‘www.phpgrid.org‘ with a new version 1.4.6. Refer this site for all future updates.