Skip to content
This repository

Symfony2 Datagrid Bundle (Sorien DataGridBundle 2.0)

branch: 2.2

This branch is 22 commits ahead and 274 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 DependencyInjection
Octocat-spinner-32 Grid
Octocat-spinner-32 Resources
Octocat-spinner-32 Tests
Octocat-spinner-32 Twig
Octocat-spinner-32 .gitattributes Version 2.0 : Fix end lines June 16, 2012
Octocat-spinner-32 .gitignore add options to configure the datagrid (ie pagerfanta) September 12, 2012
Octocat-spinner-32 .travis.yml Update master July 01, 2012
Octocat-spinner-32 APYDataGridBundle.php Version 2.0 June 16, 2012
Octocat-spinner-32 CHANGELOG.md Don't redirect with an AJAX request October 14, 2012
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 UPGRADE-2.0.md Fix link. June 30, 2012
Octocat-spinner-32 composer.json Update composer July 05, 2012
Octocat-spinner-32 phpunit.xml.dist
README.md

A faire:

Gérer isqueryvalid quand c'est un multi select ? Gérer le populate avec array values filter avec array values pour autre que text => serialize($fieldValue) ??

Dans vector // @TODO search the type of each value in the array // @TODO manage country... columns

What's new in 2.2 ?

Each type of column manage automaticaly array values.

The bundle detects the array type of the ORM annotation so you just have to define the type of the data of the array.

Example:

    /*
     * @ORM\Column(type="array")
     *
     * @GRID\Column(type="number")
     */
    protected $my_numbers;
}

Note: Filters aren't completely done.

Add Country, Language and Locale column with their select filter.

These new column are an extended TextColumn Class and the bundle detect the name of the property to add a specific instead of a TextColumn. (country, countries, language, languages, locale, locales)

Example:

    /*
     * Automatic country column
     * @ORM\Column(type="string", length=2)
     */
    protected $country;

    /*
     * Automatic country column with array value support
     * @ORM\Column(type="array")
     */
    protected $countries;

    /*
     * Forced country column
     * @ORM\Column(type="string", length=2)
     * @GRID\Column(type="country")
     */
    protected $my_var;
}

## Add new operators

Doesn't start with
Doesn't end with
Not between exclusive
Not between inclusive

## Add a way to set the data junction when you select multiple filters for a column
Note: The checkbox isn't add yet.
Something went wrong with that request. Please try again.