You used to do def index(): rows=db(db.mytable).select() table = SQLTABLE(rows) return dict(table=table) def search():.... def view(): ... def edit(): ... def delete(): ... etc etc.
Now you can just do def index(): table = SQLTABLE.smart(db.mytable) return dict(table=table) The new syntax out of the box does: - one click sorting - view, edit, delete buttons (in place view/edit) no need for additional code - searching - pagination and a few other things that I will explain later. Try with your tables and try break it. Works best with the base.css of welcome. Need to add some security using signed_url will do so soon. This was been included in trunk because there seems to be a lot of code repetition about this. This would not happened without great code examples from Bruno, Martin and others. Massimo