'Represent a row
@param row: the Row'

def represent_row(self, row):

    s3db = current.s3db
    cost_item = row.budget_cost_item
    instance_type = cost_item.instance_type
    item = object.__getattribute__(row, instance_type)
    if (instance_type == 'event_asset'):
        table = s3db.event_asset
        repr_str = ('%s    -    %s' % (table.incident_id.represent(item.incident_id), self.represent['asset_id'](item.asset_id)))
    elif (instance_type == 'event_site'):
        table = s3db.event_site
        repr_str = ('%s    -    %s' % (table.incident_id.represent(item.incident_id), self.represent['site_id'](item.site_id)))
    elif (instance_type == 'event_human_resource'):
        table = s3db.event_human_resource
        repr_str = ('%s    -    %s' % (table.incident_id.represent(item.incident_id), self.represent['human_resource_id'](item.human_resource_id)))
    else:
        etable = s3db.budget_cost_item
        instance_type_nice = etable.instance_type.represent(instance_type)
        repr_str = ('%s    #%s' % (instance_type_nice, cost_item.cost_item_id))
    return repr_str
