Announcing phpGrid v6.7
Today we released phpGrid version 6.7. It updates several major core components to support PHP 7. List of main changes: PHP 7 support! PDF class updated to support PHP 7 Native Excel export (requires...
View ArticlePersist Row Selection Following Pagination
You can select multiple records with set_multiselect() method. When multiselect is enabled, a checkbox is shown to the left of each row. Out of box, you can use multiselect feature to delete multiple...
View ArticlePHP Namespaces Support
In PHP, you can’t have two classes that share the same name. It becomes a problem when your code grows such as a third party class library could happen to have a class the same as yours. Introduced in...
View ArticleWorking with Complex Query
Complex query is supported through SQL View or using array. However, editing is not possible. 1. Generate PHP array from your query: 123456789101112131415161718192021$sql = 'select...
View ArticleAccess DB2 through “ibm_db2” extension
* Access to DB2 through “ibm_db2” extension is only supported in the phpGrid Enterprise license. phpGrid now supports IBM DB2 Universal Database through “ibm_db2” extension that uses native IBM DB2...
View ArticleCopy Row
You can now clone a row by simply calling “enable_copyrow()” function. Once it’s enabled, select a row and then in “Copy Row” button in the footer. It will duplicate the selected row in the database...
View ArticlePersist State of the Sort Order and Page On Page Reload
Sometimes you need the datagrid to be able to remember sort order and current page. For that, it requires only a single function call to “enable_persist_state()” function to enable this feature. It...
View ArticleDrag and Drop Grouping
You can enable drag & drop a column header to group by that column with a single function call to “enable_dnd_grouping()”. Once it’s enabled, you can drag a column header and drop above the grid...
View ArticleBuild a DataGrid With Tabs
Note that some features used in this demo are only supported in phpGrid Enterprise 6.9+. We can use jQuery UI Tabs widget to build our datagrid with tabs. phpGrid already comes with the latest...
View ArticleAdvanced Search with Date & Number Range Filter
Advanced search now supports range filter for both date and number. To enable search use enable_advanced_search() method with parameter set to true. Once enabled, the advanced search can be toggled...
View ArticleWYSIWYG editor with colorpicker
Colorpicker is now built right into the phpGrid Wysiwyg editor for both inline and form edit mode. By default, a text field is a simple plain textarea. Call set_col_wysiwyg to enable the Wysiwyg...
View ArticleForm only mode
* Please note this feature is only available in paid versions (7.0+) phpGrid now supports form only mode – displaying the form without showing the datagrid. It is extremely useful for order entry...
View ArticleEnhance Edit Form
There are many ways to enhance the edit form in regular datagrid + form, or just in form-only mode. In version 7.0, there are two new functions at your disposal, add_form_group_header() and...
View ArticleLoad Existing Record into Form (Form-Only Mode)
* Please note this feature is only available in paid versions. You can load existing record data from database table into the edit form. This feature is only supported in form-only mode. In form only...
View Articleadd_form_group_header()
Parameter(s): $before_col_name: Name of column name before which display group header text $text: Group header text Description: Display text before specified column in modal form. Example: 1$dg ->...
View Articleadd_form_tooltip()
Parameter(s): $col_name: Name of column name for the tooltip $tooltip_text: Tool tip text $symbol: Tooltip symbol. Default to (?) with CSS class name “tooltip_sym” Description: Display tool tip for a...
View Articleform_only() *
* Please note Form-only mode is only available in paid versions. It is supported from version 7.0 and above. Parameter(s): none Description: Display the add form only without the datagrid. The form...
View ArticleJoomla! CMS Native Support
* Please note this feature is only available in paid versions (version 7.0+). phpGrid version 7 supports Joomla! 3.x out-of-box. In conf.php, set constant FRAMEWORK to JOOMLA. 1define('FRAMEWORK',...
View ArticleCRUD success/error status display
Starting version 7, phpGrid now displays status of either success or error confirmation messages without configuration. There is no additional programming required to enable this new feature in 7.0....
View ArticlephpGrid Symfony Integration
Files needed for this demo phpGrid Lite (free) Symfony 3 (free) Where to keep phpGrid files in Symfony (Hint: not in “vendor” folder) The short answer is “web” folder. Symfony web assets are used...
View Article