On 7 June 2012 11:01, Cornelius Kölbel <[email protected]>wrote:

>  Hi,
> is it possible to add more than one button to a SQLFORM.smartgrid?
>
> Yes.


> At the moment I would add one button like this...
>     links = [lambda row: A(T('Add a contact to this
> customer'),_href=URL("customer","add_contact",args=[row.id]))]
>
>
There will be a button for each item in links if you use links=links in
arguments for SQLFORM.smartgrid.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

Reply via email to