nope. Selectable takes a callback but not for show/not show the checkbox: 
it's a callable that takes as an input the ids and does something.

On Monday, May 12, 2014 11:44:31 PM UTC+2, TSmith wrote:
>
> Using SQLFORM.grid, I can set editable equal to a lambda function and 
> cause edit buttons to only appear for certain rows          
> for example:  editable= lambda row :  row.locked == 0,
>
> If I use a selectable function to add one check box per row, is there a 
> similar function so I could only have checkboxes enabled for certain 
> records?
>  
>  
>
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to