S0RIEN/DataGridBundle — Issue #79: changes in anotations
Author: S0RIEN
Created: 2012-02-10 16:41:06+00:00
State: open

add default order to class

/**
* @GRID\Source(defaultOrder="columnId")
*/
class Foo

add default table title prefix

/**
* @GRID\Source(titlePrefix="columnId")
*/
class Foo

add groups to be able create different grid configurations

/**
* @GRID\Source(graups={admin, user})
*/
class Foo {
/**
* @GRID\Column(title="Name", group="admin")
* @GRID\Column(title="Name", group="user")
*/
private $name;

...

this->get('Grid')->setSource(newDoctrine('Foo', 'admin'))