I'd like to use the "label=" in the model, or the "header=" in the 
controller to change the title of the id field.  What would the syntax be 
for either?

def search_people_address():
    query = (db.Party.id == db.auth_user.partyID) & (db.
PartyAddressIntersection.partyID==db.Party.id) & (db.
PartyAddressIntersection.addressID==db.Address.id), headers={db.Party.id:
'Name', db.Address.id:'Address'}
    grid = SQLFORM.grid(query, fields=[db.Party.displayName, db.Address.id])
    return dict(grid = grid)


thanks,

Alex

-- 

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


Reply via email to