#This uses 'links' to display my virtual field 'extradate'... #Shows grid with all fields grid=SQLFORM.grid(query=(db.prop.id < 10), links=[dict(header='ExtraDate', body=lambda row: row.extradate)] )
#This does the same thing but specifies fields... grid=SQLFORM.grid(query=(db.prop.id < 10), links=[dict(header='ExtraDate', body=lambda row: row.extradate)], fields= (db.prop.id,db.prop.prop_ref) ) ###produces ticket ... KeyError: 'extradate' How may we make it work?