-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grid configuration #44
Comments
to be honest, in a real world example i'd probaly use customized child classes instead of config files for this. |
just 1st part(template base config) is going to be implemented |
How to use the same entity but not the same configuration ? (front-end vs back-end) I like the 2nd part
And call the grid Or add a property to the annotation
And call the grid |
I've done something really interesting, before leaving my office... apy_data_grid limits: {20: '20', 100:'100', 500:'500'} |
It works with the current master ? |
Of course not ;-) |
To handle a yaml configuration isn't really difficult. It take some time. |
I never do that before :-) |
Il faut définir le TreeBuilder de la configuration mais hélas, il n'y a pas beaucoup de documentation donc il faut s'aider des autres bundles existant. Après tu récupères la configuration sous forme de tableau que tu manipules. |
C'est comme ça que j'ai commencé. J'ai trouvé des liens pas mal, et j'ai du monde au taf pour m'aider aussi ! |
Tu taffes professionnellement sur Symfony ? |
Ouais, on est passé sous Symfony depuis 6mois/1an. |
C'est bien. Dans ma région, Symfony est un peu inexistant au niveau professionnel. |
Ouais j'imagine. Sur Paris c'est déjà un peu plus présent je pense. Concernant la conf YAML, je viens de pousser un commit qui permet de définir la valeur par défaut de limits dans config.yml. Pour les autres paramètres, Je trouve que c'est moins pertinent. |
Peut-être pour le template de base par défaut (blocks.html). |
Thanks for debate in english for everyone who do not speak french |
Sorry patie, this was not really about this bundle. |
we could create grid configuration in base config like
or
and in controller you can call just this->get('grid.mygrid') and you will get grid with all settings
The text was updated successfully, but these errors were encountered: