On Monday, January 11, 2016 at 4:18:09 PM UTC-5, Wolf-Dieter Klotz wrote:
>
> grid.element('.web2py_form') is the FORM object, right? ...never had the 
> idea to look in this direction - tanks a lot.
>

Yes, but I guess that's not what you want. You don't want to add a button 
to a form, but to the grid DOM. There is no .add_button method for that 
(.add_button is a method of the FORM class). If you want to manipulate the 
grid DOM, you'll need to use the basic server-side DOM manipulation 
techniques (see the Views chapter).

Anthony

-- 
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.

Reply via email to