Hi
The *selectable* option works as expected, except that my grid *shrinks *from
taking up the entire width of the screen to shrinking to something less
than half the original width. This behaviour is seen in Chrome, Firefox &
Opera. Once I remove the selectable option, the grid goes back to its
expected width. I am using *web2py Version
2.8.2-stable+timestamp.2013.11.28.13.54.07* with *Python 2.71* under *Windows
8.1*. I searched this forum to see if there was any mention of this, but so
far nothing. I am using the selectable option as follows:
grid = SQLFORM.grid(qry,
csv=False,
*selectable=* [(T('Disallow Login'), lambda ids:
change_login_to(ids,'blocked'))],
showbuttontext=False)
return dict(grid=grid)
The view contains a simple statement *{{=grid}}* to display the grid
Am I doing something wrong?
--
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.