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 some other fields 
and then build the check boxes manually as long as I use the same field 
naming conventions.

On Friday, May 11, 2012 5:20:58 PM UTC-5, rochacbruno wrote:
>
> 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 inbox - check off a series of messages and then you 
>> can do something with them.  I've got a version working with 
>> SQLFORM.factory and a field that uses 
>> widget=SQLFORM.widgets.checkboxes.widget but it isn't anywhere near as 
>> polished of a look as I would like (my checkbox labels end up being 
>> rediculously long and really should be separate columns). Is there a nifty 
>> web2py way of doing this or do I just need to create the form/checkboxes 
>> myself in the view and leave behind the web2py form validation?
>>
>> Thanks,
>> Brian
>>
>
>
>
> -- 
>
> Bruno Rocha
> [http://rochacbruno.com.br]
>  
>

Reply via email to