[web2py] Re: Datatables add buttons on each row and pass args to controller function

2019-04-16 Thread Massimo Di Pierro
I am not familiar with how database reads arguments but try replace href='{{=URL('Herramientas','usuarioUpdate',args=["users.id"])}}' with href='{{=URL('Herramientas','usuarioUpdate'}}/users.id' because anything in between {{...}} is executed by the server before it gets to datatables. Also

[web2py] Re: Datatables add buttons on each row and pass args to controller function

2019-04-15 Thread 黄祥
crud() method is obsolete, perhaps you can use sqlform() ref: http://web2py.com/books/default/chapter/29/07/forms-and-validators#SQLFORM-and-insert-update-delete best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Sou