Dear Nico.
Thank you for you answer.
I use a sqlform.smart grid for show records from database, i want to do a call 
Restful for show especific record clicked using ajax
My problem is i not know how i implement onclick function on sqlform.smart grid
Regards 

    On Friday, March 24, 2017 6:20 AM, Nico de Groot <[email protected]> 
wrote:
 

 A client-side javascript function can't be triggered by a link. You can define 
a onclick attribute containing a call to a javascript function. If you want to 
use a row id as a parameter you have to make it available as a data attribute.

It's not clear what you want and why.  Maybe you have to grasp the serverside - 
clientside concept better first. Lookup 'javascript' and play around with tools 
like jsfiddle.

Nico de Groot

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


   

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to