good catch!

On Tuesday, 29 July 2014 10:39:15 UTC-5, Javier Pepe wrote:
>
> form = SQLFORM.grid(db.t_proposte,
>                        searchable=True,
>                       deletable=True,
>                        details=False,
> *                       selectable**=True,** <- must be a function*
>                        csv=True,
>                       user_signature=False)  # change to True in 
> production
>
>
> On Tue, Jul 29, 2014 at 12:05 PM, ceriox <cer...@gmail.com> wrote:
>
>> hi all,
>> i have a table with some fields (two of the type boolean)
>>
>> if i use 
>> form = SQLFORM.smartgrid(db.t_proposte,onupdate=auth.archive)
>>
>>
>> all work fine!
>>
>> but if i use:
>> form = SQLFORM.grid(db.t_proposte,
>>                        searchable=True,
>>                       deletable=True,
>>                        details=False,
>>                        selectable=True,
>>                        csv=True,
>>                       user_signature=False)  # change to True in 
>> production
>>
>>
>> i have the error:
>> <type 'exceptions.TypeError'> 'bool' object is not iterable
>> i'm doing something wrong?
>> (i don't have any type of requires on the fields)
>>
>>  -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> 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 web2py+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to