Open Grid

Open-Source Schema-Driven Data Grid

Open Grid is a schema-driven PHP + PostgreSQL data grid application with a vanilla JavaScript frontend. Transform a simple JSON schema into a fully functional CRUD interface with dynamic tables, inline editing, and foreign key relationships.

Perfect for: Admin panels, database browsers, data management tools, quick prototypes, and internal business applications. From schema.json to running grid in under 3 minutes.

πŸ“ Sample schema.json - Complete CRM Grid in 25 lines:

{
  "tables": {
    "companies": {
      "display_name": "Companies",
      "columns": {
        "id": { "type": "SERIAL PRIMARY KEY", "display_name": "ID" },
        "name": { "type": "VARCHAR(255)", "display_name": "Company Name" },
        "industry": { "type": "VARCHAR(100)", "display_name": "Industry" },
        "is_active": { "type": "BOOLEAN", "display_name": "Active" }
      }
    },
    "contacts": {
      "display_name": "Contacts",
      "columns": {
        "id": { "type": "SERIAL PRIMARY KEY", "display_name": "ID" },
        "first_name": { "type": "VARCHAR(100)", "display_name": "First Name" },
        "email": { "type": "VARCHAR(255)", "display_name": "Email" },
        "company_id": { "type": "INTEGER", "display_name": "Company" }
      },
      "foreign_keys": {
        "company_id": {
          "reference_table": "companies",
          "reference_column": "id",
          "display_column": "name"
        }
      }
    }
  }
}

That's it! Deploy to your PHP server and get a complete data grid with inline editing, foreign key dropdowns, search, and debug panel.

3-Minute Quick Start

1

Create schema.json with your data model

2

Upload to PHP server with PostgreSQL database

3

Open in browser - your data grid is ready!

Get Started Today

πŸ“¦ GitHub Clone

git clone https://github.com/yourusername/open-grid

Full source code access. Deploy to any PHP hosting with PostgreSQL support.

GitHub Repository

⚑ ZIP Download

Download complete package. Upload to your web server and configure database connection.

Download v1.0

Why Choose Open Grid?

🎯 Schema-Driven Architecture

Single JSON file controls everything - tables, columns, relationships, and display names. Update schema and the entire application adapts automatically.

⚑ Vanilla JavaScript

Zero framework overhead - pure JavaScript with modern ES6+ syntax. Fast, lightweight, and easy to understand and customize.

πŸ”“ Open Source

MIT licensed, community-driven, no vendor lock-in. Full source code access - customize, extend, and contribute freely.

πŸ”— Smart Foreign Keys

Automatic display value resolution with dropdown selectors. Backend handles joins - frontend shows human-readable data.

✏️ Inline Editing

Edit directly in grid cells with automatic save on blur. PATCH requests update individual fields efficiently.

πŸ” Developer-Friendly

Built-in debug panel logs all API interactions. Clean code structure with separation of concerns and comprehensive comments.

Join Our Community

Get help, share schemas, and connect with developers building data-driven applications

Discord QR Code

Scan to join Discord