drago-ex / datagrid
A simple datagrid for sorting and filtering data.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/drago-ex/datagrid
Requires
- php: >=8.3 <9
- dibi/dibi: ^5.0
- latte/latte: ^3.1
- nette/application: ^3.2
- nette/forms: ^3.2
- tracy/tracy: ^2.11
Requires (Dev)
- phpstan/phpstan-nette: ^1.2.9
This package is auto-updated.
Last update: 2026-02-20 12:19:17 UTC
README
Drago DataGrid is a powerful and extendable tabular data component built on top of the Nette Framework. It provides high-performance filtering, sorting, pagination, and row actions with flexible Latte templates for rendering Bootstrap 5 styled tables.
Requirements
- PHP >= 8.3
- Nette Framework
- Dibi
- Latte
- Bootstrap 5
- Naja
- Composer
Features
- Text & Date Filtering – LIKE operator with SQL injection protection
- Column Sorting – Click headers to sort, toggle ASC/DESC
- Smart Pagination – LIMIT/OFFSET at DB level (5.8x faster for 1M rows)
- Row Actions – Edit, Delete, or custom actions with callbacks
- Custom Formatting – Format cell values with callbacks
- Security Built-in – SQL injection & XSS protection by default
- Performance Optimized – Only fetches data for current page
- AJAX Integration – Seamless Naja integration, no page refresh
- Bootstrap 5 – Beautiful responsive styling included
- Modular Architecture – Easy to understand, test, and extend
Installation
composer require drago-ex/datagrid