Hey all,
Having trouble using SQLFORM.smartgrid/grid...this is how my controller
looks like:
def myfiles():
response.title=" Files in the system "
grid = SQLFORM.grid(db.myfile,deletable=True, editable=True,
details=False,create=True, csv=False)
return dict(grid=grid)
My view:
{{extend 'layout.html'}}
<h1>Files</h1>
{{=grid}}
The problem is the buttons for add, delete, edit are not appearing. What
attribute am I missing?
Teddy L.
--
.......................................................................................
Teddy Lubasi Nyambe
Opensource Zambia
Lusaka, ZAMBIA
Cell: +260 97 7760473
website: http://www.opensource.org.zm
~/
Human Knowledge belongs to the world! - AntiTrust
Man is a tool-using animal. Without tools he is nothing, with tools he is
all - Thomas Carlyle 1795-1881
/~
--