If it's for small things you can use: http://groups.google.com/group/web2py/browse_thread/thread/1a1d52d29611564d/3ef8ca27ecfcea58?lnk=gst&q=table+div#3ef8ca27ecfcea58
On Nov 9, 2:36 pm, villas <villa...@gmail.com> wrote: > I want to customize the result of SQLTABLE so that it can make me a > nice table without lines and lines of code in my view file. To > achieve that, I need for example to: > > 1) Add columns to hold icons and links and extra stuff. > 2) Customize the rows, e.g. links which depend on content, different > icons etc > > After giving it some thought, I think I should leave SQLTABLE alone > and concentrate on 'improving' the rows object so that it contains > everything I want before passing it to SQLTABLE. > > To do 1) I can simply add a column to the rows object. How can I best > do that? > To do 2) I could iterate the rows object and make changes. > > Or.... maybe there is another way. > I appreciate that if I want to style the HTML table, I'll have to > write my code in the form (which I am trying to avoid). > > Thanks, > -D