Dear All. I am trying to use powerTable plugin, but i am receiving the following error:
return ogetattr(self, key)
AttributeError: 'Row' object has no attribute 'pagos'
My code:
@auth.requires_login()
def pagos():
reg=db(db.pagos.id_clientes==session.cliente_id).select(db.pagos.id,db.pagos.fecha,db.pagos.monto,db.pagos.comments,orderby=~db.pagos.fecha)
powerTable = plugins.powerTable
powerTable.datasource = reg
......
What is the problem with this query? or what i am doing wrong?
Regards
--

