.grid() takes a "formargs" argument, which is a dictionary of arguments to 
pass to the grid forms. There are also the more specific "createargs", 
"editargs", and "viewargs" arguments, for create, edit, and view forms, 
respectively.

Anthony

On Tuesday, March 20, 2018 at 2:09:09 PM UTC-4, Shrabya Timsina wrote:
>
> Hello, I really like the keepvalues option for the form/sqlform objects 
> where you can pass it to their process/accepts method. 
> I understand the grid object also has an underlying sqlform, but I do not 
> understand how to access that in order to use its keepvalues=True option. 
> Based on my search, it seems like I have to use the onupdate parameter of 
> grid but I do not understand how to use it. Please help.
>

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