Thanks Mark!
--
---
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/groups
SQLFORM.grid(, editargs=dict(comments=False))
or
SQLFORM.grid(, formstyle='bootstrap')
On Monday, April 22, 2013 2:15:35 PM UTC-4, Christian Espinoza wrote:
>
> Hi guys, somebody know how hide the comments column at a edit form using
> SQLFORM.grid() ??
>
> I can do it using jquery wi
i think you can achieve it by some conditional in models or controller.
e.g.
db.define_table('test',
Field('test'),
Field('test_read'),
Field('test_write'),
format='%(test)s')
*# not show in edit page*
show_test_write = request.args(-3) == 'edit'
db.test.test_write.writable = db.t
3 matches
Mail list logo