did you start with an old (pre 2.6.0) app and updated web2py ? if yes, you
need to overwrite your app's web2py.js with welcome/static/web2py.js
I think that the most straightforward example is (assuming working on
localhost, hence having generic views enabled): take your welcome, put this
in default.py
def thisgrid():
grid = SQLFORM.grid(db.your_table, paginate=5) #paginate defaults
altered just to avoid having a huge test table filled for this test
return dict(grid=grid)
def container():
frag = LOAD('default', 'thisgrid.load', ajax=True)
return dict(frag=frag)
then access the container page.
--
---
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.