A helper function to render the table is a good idea. But i have a strong opinion on where Javascript should be located and that is in *.js files and not in the template or output via helper methods.
On Apr 8, 8:21 am, Slavka <[email protected]> wrote: > Hey guys... > > I have used jquery's data tables (datatables.net) a few times and > wanted to create a plugin wrapper around it, the way i see it perhaps > a helper function to which you can pass a result and some > configuration parameters to render the table... > > and then for ajax support i was thinking another helper function to > which you can pass a criteria object and some configurations and it > would return the criteria object with the configurations applied... > > If anyone can suggest a better way of creating this plugin i would > most definitely love to hear about it. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en To unsubscribe, reply using "remove me" as the subject.
