Re: [web2py] problem with web2py and plugin_datatables

2010-12-03 Thread Ivan Matveev
Example of usage is like this: {{=plugin_datatable(db(db.shout.id>0).select(),_class='datatable')}} I think plugin_datatable wants Rows object as a parameter, not a table created with SQLTABLE

[web2py] problem with web2py and plugin_datatables

2010-12-03 Thread mmartinez
Good afternoon: I'm using the plugin_datatable and I have an error by doing the following: the controller left=db.clientes.on(db.accountcode.id_clientes==db.clientes.id) rws=db().select(db.accountcode.ani, db.clientes.rsocial, left=left, orderby=db.clientes.rsocial) table=SQLTABLE(rws,trun