Did you find how to do this? I too would like to have a header for the 
selectable column. Shown below is how I'm defining it. I know how to use 
headers to control table field headers, but I have failed to find how to 
control the checkbox column header. If there's no way to do that, no 
worries, just curious.

def next_sessions():
    grid = SQLFORM.grid(
      (db.sessions.session_date_time_start>=datetime.date.today()) & 
        (db.sessions.session_date_time_start<=datetime.date.today() + 
datetime.timedelta(days=7)), 
      user_signature=False, csv=False, searchable=False, #user_sig false 
only during this stage of dev
      selectable=lambda ids: 
[redirect(URL('default','get_program_sessions', vars=dict(id=ids)))]
    )
    return locals()



On Wednesday, August 14, 2013 at 9:16:56 AM UTC-4, Leonardo Pires Felix 
wrote:
>
> How put a header on selectable column on SQLFORM.grid?
>

-- 
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