Great! I have spent some hours looking for a solution - now it could be done in one line. Thank you VERY MUCH. I think these great features should be well documented.
2012/3/7 Johann Spies <[email protected]> > On 7 March 2012 15:59, Martin Weissenboeck <[email protected]> wrote: > >> Hi, >> I have a smartgrid-table with a lot of persons. Now I want to select some >> persons with a checkbox and print the names, etc of these persons. >> >> I have tried: >> >> >> Try > > def printit(ids): > # do whatever is necessary to print the stuff you want printed > return > > form = SQLFORM.smartgrid(db.auth_user, linked_tables=['child'], > user_signature=False, > selectable = lambda ids: printit(ids)) > > Regards > Johann > > -- > Because experiencing your loyal love is better than life itself, > my lips will praise you. (Psalm 63:3) > >

