Hi, i'm trying to pass a parameter to filter the data on the grid
like :

@expose('json')
def fetch(self, page=1, rp=25, sortname='title', sortorder='asc',
qtype=None, query=None):
...
movies = DBSession.query(Movie).filter_by( ... "PARAMETER" ...)
....

Then, i don't know how to pass this parameter to the controller from
the template:

${tmpl_context.grid( ¿¿PARAMETER???? )}

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to