I have a strange behaviour of the SQLFORM.smartgrid.
I have this controller to do my own user management:
@auth.requires_membership('admin')
def user():
exportclasses = dict(xml=False, html=False, csv=False, json=False, tsv=
False, tsv_with_hidden_cols=False, csv_with_hidden_cols=False)
fields = [db.auth_user.first_name,db.auth_user.last_name,db.auth_user.
username,db.auth_user.email]
form = SQLFORM.smartgrid(db.auth_user,
exportclasses=exportclasses,
paginate=settings.pagination,
fields=fields
)
But when I' follwing the link to the membership table, I get the headers of
the auth_user table as long as I'm using the fields argument.
A other bug is the display of "Export:" when all exportclasses are switched
off.
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.