PHPackages                             domenik88/datagrid-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. domenik88/datagrid-bundle

ActiveSymfony-bundle

domenik88/datagrid-bundle
=========================

Symfony Datagrid Bundle

4.0.3.2(5y ago)011MITPHPPHP &gt;=7.0

Since Jun 9Pushed 5y agoCompare

[ Source](https://github.com/Domenik88/APYDataGridBundle)[ Packagist](https://packagist.org/packages/domenik88/datagrid-bundle)[ Docs](https://github.com/apy/APYDataGridBundle)[ RSS](/packages/domenik88-datagrid-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (19)Versions (54)Used By (0)

Datagrid for Symfony inspired by Zfdatagrid and Magento Grid.
This bundle was initiated by Stanislav Turza (Sorien).

[![Build Status](https://camo.githubusercontent.com/9d114ecc5d8f7972e056bfd4a3dfc7a2e970c38bd22cd03b3dd715f9195d8485/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f4150592f415059446174614772696442756e646c652e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/APY/APYDataGridBundle)[![Coverage Status](https://camo.githubusercontent.com/b821033e64fa961b1743340298d93a5a35e2f1b41a95b1e16e2d480f3a9933c0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f4150592f415059446174614772696442756e646c652f62616467652e7376673f6272616e63683d746573742d696d70726f76656d656e74)](https://coveralls.io/github/APY/APYDataGridBundle?branch=test-improvement)[![Stories in Ready](https://camo.githubusercontent.com/047633e7b78526d593a6ff7420a3621cacc80a497eda522d873ca0b40b9b3903/68747470733a2f2f62616467652e776166666c652e696f2f4150592f415059446174614772696442756e646c652e7376673f6c6162656c3d7265616479267469746c653d5265616479)](http://waffle.io/APY/APYDataGridBundle)[![Gitter](https://camo.githubusercontent.com/b8395b4676dc4cb45c2063c92bafd2f0a78e2cade26487cc7beadbaa6766986f/68747470733a2f2f6261646765732e6769747465722e696d2f4150592f415059446174614772696442756e646c652e737667)](https://gitter.im/APY/APYDataGridBundle?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

See [CHANGELOG](https://github.com/APY/APYDataGridBundle/blob/master/CHANGELOG.md) and [UPGRADE 2.0](https://github.com/APY/APYDataGridBundle/blob/master/UPGRADE-2.0.md)

Features
--------

[](#features)

- Supports Entity (ORM), Document (ODM) and Vector (Array) sources
- Sortable and Filterable with operators (Comparison operators, range, starts/ends with, (not) contains, is (not) defined, regex)
- Auto-typing columns (Text, Number, Boolean, Array, DateTime, Date, ...)
- Locale support for DateTime, Date and Number columns (Decimal, Currency, Percent, Duration, Scientific, Spell out)
- Input, Select, checkbox and radio button filters filled with the data of the grid or an array of values
- Export (CSV, Excel, *PDF*, XML, JSON, HTML, ...)
- Mass actions
- Row actions
- Supports mapped fields with Entity source
- Securing the columns, actions and export with security roles
- Annotations and PHP configuration
- External filters box
- Ajax loading
- Pagination (You can also use Pagerfanta)
- Column width and column align
- Prefix translated titles
- Grid manager for multi-grid on the same page
- Groups configuration for ORM and ODM sources
- Easy templates overriding (twig)
- Custom columns and filters creation
- ...

Documentation
-------------

[](#documentation)

See the [summary](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/summary.md).

Screenshot
----------

[](#screenshot)

Full example with this [CSS style file](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/grid_configuration/working_example.css):

[![test](https://github.com/APY/APYDataGridBundle/raw/master/Resources/doc/images/screenshot_full.png?raw=true)](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_full.png?raw=true)

Simple example with the external filter box in english:

[![test](https://github.com/APY/APYDataGridBundle/raw/master/Resources/doc/images/screenshot_en.png?raw=true)](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_en.png?raw=true)

Same example in french:

[![test](https://github.com/APY/APYDataGridBundle/raw/master/Resources/doc/images/screenshot_fr.png?raw=true)](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_fr.png?raw=true)

Data used in these screenshots (this is a phpMyAdmin screenshot):

[![test](https://github.com/APY/APYDataGridBundle/raw/master/Resources/doc/images/screenshot_database.png?raw=true)](https://github.com/APY/APYDataGridBundle/blob/master/Resources/doc/images/screenshot_database.png?raw=true)

Simple grid with an ORM source
------------------------------

[](#simple-grid-with-an-orm-source)

```
