[web2py] Question about powertable error

2011-02-13 Thread tomt
Hi, I am using powertable to display a subset of a table's rows: ... id=request.args(0) tasks=db(db.task.cparef==id).select(db.task.ALL) table = plugins.powerTable table.datasource = tasks ... This works just fine, but when I try to specify the columns table.columns =

Re: [web2py] Question about powertable error

2011-02-13 Thread Bruno Rocha
2011/2/13 tomt tom_tren...@yahoo.com table.columns = ['tasks.title'] Try with: table.columns = ['task.title'] where 'task' is the name of the table, 'title' the name of the field.