Hi all, 

I was playing around with selectables in the grid and smartgrid and found 
this example code in the mailing list:

selectable = lambda ids: delete(ids)
form=SQLFORM.grid(query,
selectable=selectable)

def delete(ids):
    to_delete=db(db.tabla.id.belongs(ids))
    to_delete.delete()


It enables a checkbox in front of each row and a button to delete the 
selected rows. This is working as expected but I was wondering is there a 
way to enable a select all checkbox? 
I did some search but couldn't find anything. Is there something I'm 
missing?

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.


Reply via email to