Skip to content

Instantly share code, notes, and snippets.

View gridphp's full-sized avatar

Abu gridphp

View GitHub Profile
@gridphp
gridphp / README.md
Last active December 5, 2025 15:24
GridPHP & Admin Themes Integration - Sample Code & Guide

GridPHP & Admin Themes Integration Guide

Prerequisites

Before starting the integration, you need to set up the following:

1. Download GridPHP Library

  • Download the latest version of GridPHP from gridphp.com or your licensed source
  • Extract the downloaded archive
@gridphp
gridphp / disabled-checkbox.css
Created November 7, 2025 07:35
CSS for disabled checkbox
.jqgrow input[type="checkbox"]:disabled:checked {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
width: 16px;
height: 16px;
border: 2px solid #4CAF50;
border-radius: 3px;
background-color: #4CAF50;
position: relative;
@gridphp
gridphp / select2-tags-n2n.php
Last active September 19, 2025 11:43
Companies and Interests (Many-to-Many) GridPHP Sample Grid - gridphp.com
<?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 SCRIPT --
@gridphp
gridphp / custom-number-formatter.php
Created August 27, 2025 15:28
Custom number formatter showing 0.00 to blank, Line 31-32 and 56-78
<?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 / index.php
Last active June 23, 2025 21:04
Single row display on the grid
<?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 / google-map-iframe.php
Created April 17, 2025 17:41
Google Maps integration with Gridphp - gridphp.com
<?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
<?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 / index.php
Created December 8, 2024 14:59
Showing Lock / Unlock Icon based on row data - screenshot: https://i.imgur.com/N5F14y9.png
<?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");
<?php
/**
* PHP Grid Component
*
* @author Abu Ghufran <gridphp@gmail.com> - https://www.gridphp.com
* @version 2.8.2
* @license: see license.txt included in package
*/
/*
@gridphp
gridphp / example-all.php
Created August 19, 2024 19:57
View dialog - textarea paragraphs display
<?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