selectable should be None (nothing to do) or a function like

selectable = lambda ids: do_something(ids)

where ids is the list of selected ids.

On Oct 18, 2:49 am, Johann Spies <johann.sp...@gmail.com> wrote:
> The default value for 'selectable' is None.
>
> When I use 'selectable = True' the an option button appears to every record,
> but when submitted I get
>
>   File "/home/js/web2py/gluon/sqlhtml.py", line 1821, in grid
>     selectable(records)
> TypeError: 'bool' object is not callable
>
> So if what should 'not None' be?  And what will be the result of the submit
> of the selected records?
>
> Regards
> Johann
> --
> Because experiencing your loyal love is better than life itself,
> my lips will praise you.  (Psalm 63:3)

Reply via email to