'Render a data column.
@param item_id: the HTML element ID of the item
@param rfield: the S3ResourceField for the column
@param record: the record (from S3Resource.select)'

def render_column(self, item_id, rfield, record):

    colname = rfield.colname
    if (colname not in record):
        return None
    value = record[colname]
    value_id = ('%s-%s' % (item_id, colname.replace('.', '_')))
    label = LABEL(('%s:' % rfield.label), _for=value_id, _class='profile-data-label')
    value = SPAN(value, _id=value_id, _class='profile-data-value')
    return TAG[''](label, value)
