Re: [web2py] Table/grid with checkboxes for selecting records?

2012-05-11 Thread Brian M
WhooHoo! Keeping the same SQLFORM in the controller and then just using form.custom (see http://web2py.com/books/default/chapter/29/7?search=form.custom) for my non-checkbox elements and then simply building the desired grid with check boxes myself in the HTML works beautifully. Just have to ma

Re: [web2py] Table/grid with checkboxes for selecting records?

2012-05-11 Thread Brian M
Thanks Bruno! So it looks like building the form myself in HTML is probably the way to go then. Would be nice to be able to have web2py do the form validation, but I'll survive. I'm thinking that I might be able to mix and match - use form.custom to start the form and show some widgets for som

Re: [web2py] Table/grid with checkboxes for selecting records?

2012-05-11 Thread Bruno Rocha
A working example on plugin BadMin https://github.com/rochacbruno/badmin On Fri, May 11, 2012 at 7:13 PM, Brian M wrote: > How can I create a table/grid with a checkbox in front of each row so that > multiple records can be selected for update/delete? Something like your > standard webmail inbo

[web2py] Table/grid with checkboxes for selecting records?

2012-05-11 Thread Brian M
How can I create a table/grid with a checkbox in front of each row so that multiple records can be selected for update/delete? Something like your standard webmail inbox - check off a series of messages and then you can do something with them. I've got a version working with SQLFORM.factory an