i found a similar jquery script here:
http://www.electrictoolbox.com/jquey-make-entire-table-row-clickable/

but i dont use jquery in my app und would prefer another way...

Am Montag, 13. Mai 2013 19:56:19 UTC+2 schrieb Richard:
>
> You will need a little touch of jquery I gues...
>
> Something like this :
>
> <script>
> $('#myTable tr').click(function() { 
>     var url = "{{=URL(f='YOURCONTROLLERFUNC', 
> args=$(this).(':first').val()}}"* // If the first column of your table 
> containt the id of your record*
>     window.location.assign(url)
>  }); 
> </script>
>
> CODE NOT TESTED
>
> Richard
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to