On Jul 28, 9:27 pm, Tito Garrido <[email protected]> wrote:
> I'm using the generic data... is there a way to set it?
If you're happy for the same class for all tables, then:
def data():
form = crud()
if request.args(0) == 'select':
form['_class'] = 'myclass'
return dict(form = form)
F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---