code: def get_data_record(self, brain, field_names):
          
          record = {}
          model = None
  
          for field_name in field_names:
              # First try to get the value directly from the brain
              value = getattr(brain, field_name, None)
  
              # No metadata for this column name
              if value is None:
                  logger.warn("Not a metadata field: {}".format(field_name))
                  model = model or SuperModel(brain)
                  value = model.get(field_name, None)
                  if callable(value):
                      value = value()
  
              # '&nbsp;' instead of '' because empty div fields don't render
              # correctly in combo results table
              record[field_name] = value or "&nbsp;"
  
          return record
docs: Returns a dict with the column values for the given brain