Apologies sent before finished.

On 10 November 2014 10:17, Alex Glaros <[email protected]> wrote:
>
>> good to know Johann
>>
>> have any examples or links to simple examples?
>>
>>
> links = lambda row: (A(B(T('Edit')), _target = "_blank",
>                             _href = URL(r = request,
>                                        c = 'authors',
>                                         f = 'edit_author',
>                                         vars = dict(auid = str(row[
> db.akb_authors.id])))))]
>
>  wys = SQLFORM.grid(query, fields = fields, editable = False, deletable=
> False,
>                                links = links, create = False, details =
> False,
>                                paginate = 1000, csv = False,
>                                maxtextlength = 90, orderby =
> db.akb_authors.surname| db.akb_authors.firstname
>

And then in edit_author you I use SQLFORM.factory.  There you can specify
which fields are to be shown in the form.

Hope this helps.

Regards
Johann

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



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

-- 
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