Nice! I want to use it. I am thinking in a way to create a inline editable table.
Enviado via iPhone Em 10/11/2010, às 20:08, "Martin.Mulone" <mulone.mar...@gmail.com> escreveu: > I decided to start to make my own implementation of table maker. The > diference with sqltable or TABLE(), it use div (more flexible), accept > web2py helpers as values and is very simple to use. > > Example: > > http://web2pytesting.appspot.com/tablediv/ > > Code: > > table = > SIMPLE_TABLE_DIV(fixedwidth=True,maxwidth=500,name="simplet1",number_list=True) > table.add_header([{'caption':'Header 1', 'width': 200}, > {'caption':'Header 2', 'width': 100}, > {'caption':'Header 3', 'width': > 100}, > ]) > table.add_row(['Value 1','Value 2', 'Value 3']) > table.add_row(['Value 4','Value 5', 'Value 6']) > table.add_row(['Value 7','Value 8', 'Value 9']) > > If anyone is interested in this or want to contribute, i will put in > bitbucket.