'Render a column of the record
@param list_id: the HTML ID of the list
@param rfield: the S3ResourceField
@param record: the record as dict'

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

    value = record[rfield.colname]
    if value:
        if (rfield.ftype == 'text'):
            _class = 'card_manylines'
        else:
            _class = 'card_1_line'
        return P(ICON(self.ICONS.get(rfield.fname, 'icon')), SPAN(value), _class=_class)
    else:
        return None
