Il 13/08/14 21:29, keiser1080 ha scritto:
> so on the controler i can get the rows by doing grid.rows?
yes
> The query is also stored on an accessible grid proprety ?
I don't know. The code of the function that defines the grid is not so
easy to read but you can try to look into it:
https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L1854 (for
grid)
https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2691 (for
smartgrid)
Cheers
M.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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/d/optout.