Thanks !!
On Friday, November 15, 2013 2:20:44 PM UTC+5:30, Mirko wrote:
>
> Just figured out how to do that :
>
> links=[
> {'header':'...','body':lambda row: ...},
> lambda row: TAG.button(T('Accept'),_type="button",_onclick=
> 'alert("%s")'%row.id)
> ]
>
> the second item of links list goes with the delete/view/edit buttons...
>
> Hope it helps,
>
> Mirko
>
> On Friday, November 15, 2013 9:37:20 AM UTC+1, Sarbjit wrote:
>>
>> Hi Mirko,
>>
>> I am not able to figure out a way so far :(
>>
>> But I feel the best way is to create a new header and add existing
>> buttons (Add/Delete/View) in them along with other buttons. But I still
>> need to figure out how this can be done i.e. passing the correct arguments
>> (signature) etc.
>>
>> -Sarbjit
>>
>>
>>>
>>>
--
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/groups/opt_out.