Hi all,

I'm using a grid to update my database, using it I can "Search",
"Clear", "View" and "Edit" the table
but not "Delete".  Click on "Delete", the page response me nothing at
all.

My environment is using the "colours" layout plugin. When I'm using
the following same code in the default ”Welcome" project, the "Delete"
it just works FINE. So I'm just wondering does the layout would affect
the "Delete" in the SQLForm.Grid?  Many thanks.

In db.py, a simple table.
db.define_table('product', Field('user'), Field('buildDef'))

In my Controller:
def edit():
    grid = SQLFORM.grid(db.product)
    return locals()

In my view:
{{extend 'layout.html'}}
{{=BEAUTIFY(response._vars)}}

Reply via email to