You can use a format string to define the data representation, read this: http://web2py.com/books/default/chapter/29/6#Record-representation
To get the icons, instead of a format string, pass a function that generates the required HTML code.
You can use a format string to define the data representation, read this: http://web2py.com/books/default/chapter/29/6#Record-representation
To get the icons, instead of a format string, pass a function that generates the required HTML code.