thank you so much for your explaination massimo. i solve it by
*for grid*
def category():
query=db.category.is_active==True
grid=SQLFORM.grid(query)
return locals()
*
for smartgrid*
def category():
query=db.category.is_active==True
grid=SQLFORM.smartgrid(db.category, constraints = dict(category=query))
return locals()
--
---
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.