The grid function accepts an ui argument which can be a dictionary so the 
grid uses different classes. Here's an example dict I use in one of my apps 
that you can pass to the grid:

BS4GRID_UI = dict(widget='',
              header='',
              content='',
              default='',
              cornerall='',
              cornertop='',
              cornerbottom='',
              button='button btn btn-secondary',
              buttontext='buttontext button',
              buttonadd='icon plus icon-plus fa fa-plus',
              buttonback='icon-arrow-left fa fa-arrow-left',
              buttonexport='icon-download fa fa-download',
              buttondelete='icon trash icon-trash fa fa-trash',
              buttonedit='icon pen icon-pencil fa fa-pencil',
              buttontable='icon-arrow-right fa fa-arrow-right',
              buttonview='icon magnifier icon-zoom-in fa fa-zoom-in',
              )

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