Hi,

I am just starting to use smartgrid and have a question on the query
builder (the GUI under 'Query').

With

    def test():
      db.define_table('A', Field('type'))
      db.define_table('B',
          Field('type', db.A),
          Field('other', 'integer'))

      form = SQLFORM.smartgrid(db.B)
      return dict(form=form)

the dropdown of available fields in the query builder does show `other`, but 
not `type`.o

What would I need to do to have the query builder also show the `type` field,
possibly allowing to pick valid a `A.type`?
-- 
"Good judgment comes from experience. Experience comes from bad judgment."

Attachment: signature.asc
Description: Digital signature

Reply via email to