I was struggling quite some time with web2py, but finally solved a lot of misunderstood problems myself. However I never succeeded in the following. In my controller I create a grid with form=SQLFORM.grid(...). form is not an object it is a member of SQLFORM. I want to add custom buttons to the grid, but can't use form.add_button(). To make it short, I never succeeded to add my custom buttons to the grid - only in the view with a <button> html tag. Is there an example how to add custom buttons to SQLFORM.grid() directly?
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.