The following works: db.teacher.id.represent = lambda id: A('edit',_href=URL(r=request,c='default',f='edit_teacher',args=str(id)))
and the following not: db.school.id.represent = lambda id: db.school(id).name db.school.id is shown in jqgrid. How do I get the School name to show up in jqgrid? -- May grace and peace be yours in abundance through the full knowledge of God and of Jesus our Lord! His divine power has given us everything we need for life and godliness through the full knowledge of the one who called us by his own glory and excellence. 2 Pet. 1:2b,3a