Hello all,
I have a view that looks like this:
*studiomaster/index.html*
{{extend 'layout.html'}}
<div id="studiochart" class="single-chart"></div>
{{=LOAD('studiomaster', 'grid.load', ajax=True, target='grid',
content='Loading...')}}
The grid function returns a SQLFORM.grid - after filling in the fields and
headers - like this:
*controllers/studiomaster.py*
query = db.studio_master.id > 0
grid = SQLFORM.grid(query=query, fields=fields, headers=headers,
csv=True, paginate=10,
editable=True, user_signature=False,
showbuttontext=False)
return dict(grid=grid)
This works perfectly fine locally, however, when I try this on my server, I
get
invalid view (studiomaster/grid.load)
error.
What am I missing here?
Thanks.
--
---
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.