I .represent a field as follows: db.auth_user.gender.represent=lambda i: db.aux_gender[i].concept[:1] if i>0 else '?' db.auth_user.member_status.represent=lambda i: config.member_status.get(i)[:1] or '?'
The first one works, and displays data in jqgrid as expected:'M','F' or'?'. The second only shows a blank cell in jqgrid. I tried a DAL select query and crud.search and the data is represented correctly.