Yes, and keep in mind that that kind of solution breaks some of the browser
functionality (e.g., ability to right-click and open in new tab).
Anthony
On Monday, May 13, 2013 1:56:19 PM UTC-4, Richard wrote:
>
> 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
>
>
>
> On Mon, May 13, 2013 at 12:36 PM, Mandar Vaze <[email protected]<javascript:>
> > wrote:
>
>>
>>
>> On Monday, May 13, 2013 2:52:20 PM UTC+5:30, Thomas Wimmer wrote:
>>>
>>> Instead of buttons or links, the row itself should be the link.
>>>
>>> The link area contains all fields.
>>>
>>
>> Yes, this will be useful. We also need this functionality
>>
>> -Mandar
>>
>> --
>>
>> ---
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
--
---
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.