PS: the first row is even
The absolute minimum: just add the following to yourapp/static/css/
base.css (or just static/base.css in earlier web2py versions)
.odd {background-color:#lightgrey}
> Is there an easy way? can SQLTABLE be striped?
SQLTABLE already has so you just style those
classes.
-D
Without the enumerate works if we do have an id:
http://pastebin.com/h0bnZjqR
2010/11/18 Bruno Rocha
> Now I am using this code: http://pastebin.com/BbizfpcE to create striped
> tables with a Row object.
>
> Is there an easy way? can SQLTABLE be striped?
>
> --
>
> Bruno Rocha
> http://about.me/
4 matches
Mail list logo