[web2py] Re: STYLE for GRID table

2014-08-28 Thread Vladimir Makarov
*It works perfectly.Thank you Antony!* On Thursday, August 28, 2014 10:50:20 PM UTC+4, Anthony wrote: > > You could do something like: > > grid = SQLFORM.grid(db.mytable) > table = grid.element('.web2py_htmltable') > table and table[0].add_class('myclass') > > Anthony > > On Thursday, August 28,

[web2py] Re: STYLE for GRID table

2014-08-28 Thread Anthony
You could do something like: grid = SQLFORM.grid(db.mytable) table = grid.element('.web2py_htmltable') table and table[0].add_class('myclass') Anthony On Thursday, August 28, 2014 2:32:40 PM UTC-4, Vladimir Makarov wrote: > > How to add class attr. for table inside web2py grid div? > Is there a