Hello,

I would like to take advantage of SQLFORM.grid search, listing and 
pagination capabilities to generate a listing from a table, but I need to 
customize the resulting rows like this:

<https://lh3.googleusercontent.com/-TbnhU4p9EOw/VA_hxFcXi_I/AAAAAAAABYI/Ti2JNW4AdAg/s1600/Screen%2BShot%2B2014-09-10%2Bat%2B02.23.35.png>
Until now I only have this:

users = SQLFORM.grid(db.users,fields=[db.users.id, db.users.first_name, 
db.users.last_name],
        headers={'users.id':'id','users.first_name':'Nombre', 
'users.last_name':'Apellido'},
        sortable=False, deletable=False, editable=False, create=False,
        csv=False, formstyle="div")

Which results into this:

<https://lh4.googleusercontent.com/-E7cySzUy2Bw/VA_iuQU_5CI/AAAAAAAABYQ/n5mLgALWJcs/s1600/Screen%2BShot%2B2014-09-10%2Bat%2B02.33.16.png>
I'm using Bootstrap 3. Any help will be appreciated.

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