Skip to content

Instantly share code, notes, and snippets.

Abu gridphp

Block or report user

Report or block gridphp

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View show-when-check.php
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - http://www.phpgrid.org
* @version 1.5.2
* @license: see license.txt included in package
*/
include_once("../../config.php");
@gridphp
gridphp / html-editor-raw.php
Created Oct 14, 2019
Edit raw html in textarea without editor
View html-editor-raw.php
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - http://www.phpgrid.org
* @version 2.0.0
* @license: see license.txt included in package
*/
// include db config
@gridphp
gridphp / mdbootstrap-index.php
Last active Oct 10, 2019
Integration with MDBootstrap CSS
View mdbootstrap-index.php
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - http://www.phpgrid.org
* @version 2.0.0
* @license: see license.txt included in package
*/
include_once("../../config.php");
View db-layer-pgsql.php
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - http://www.phpgrid.org
* @version 2.0.0
* @license: see license.txt included in package
*/
$db_conf = array();
@gridphp
gridphp / daterangepicker.php
Created Oct 7, 2019
2 daterange in autofilters
View daterangepicker.php
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - http://www.phpgrid.org
* @version 2.0.0
* @license: see license.txt included in package
*/
// include db config
View sample_running_total.php
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - http://www.phpgrid.org
* @version 2.0.0
* @license: see license.txt included in package
*/
// include db config
@gridphp
gridphp / on_after_insert_js_call.php
Created Aug 31, 2019
Calling JS function after Insert record
View on_after_insert_js_call.php
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - http://www.phpgrid.org
* @version 2.0.0
* @license: see license.txt included in package
*/
include_once("../../config.php");
@gridphp
gridphp / multiple-checkbox.php
Last active Sep 11, 2019
Dropdown (multiple) to Checkboxes column ... https://i.imgur.com/3InOdeg.png (line 51,80) - selected values will be saved as csv
View multiple-checkbox.php
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - http://www.phpgrid.org
* @version 2.0.0
* @license: see license.txt included in package
*/
include_once("../../config.php");
@gridphp
gridphp / grouping_sort_different.php
Created Aug 25, 2019
Sort Grouping by Different field
View grouping_sort_different.php
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - http://www.phpgrid.org
* @version 2.0.0
* @license: see license.txt included in package
*/
// include db config
@gridphp
gridphp / search-json.php
Created Jul 25, 2019
Search JSON for complex conditions
View search-json.php
$sarr = <<< SEARCH_JSON
{
"groupOp":"AND",
"rules":[{"field":"client_id","op":"lt","data":"10"}],
"groups":[
{"groupOp":"OR",
"rules":[
{"field":"name","op":"cn","data":"Mar"},
{"field":"name","op":"cn","data":"Ana"}
]
You can’t perform that action at this time.