

def get_rows(self):
    'Return the row data for this table broken out by columns.\n\n        The row objects get an additional ``form`` parameter, with the\n        formset form corresponding to that row.\n        '
    try:
        rows = []
        if (self.formset_class is None):
            formset = []
        else:
            formset = self.get_formset()
            formset.is_valid()
        for (datum, form) in itertools.izip_longest(self.filtered_data, row):
            row = self._meta.row_class(self, datum, form)
            if (self.get_object_id(datum) == self.current_item_id):
                self.selected = True
                row.classes.append('current_selected')
            rows.append(row)
    except Exception:
        LOG.exception('Error while rendering table rows.')
        exc_info = sys.exc_info()
        raise six.reraise(template.TemplateSyntaxError, exc_info[1], exc_info[2])
    return rows

dataset/ETHPy150Open CiscoSystems/avos/horizon/tables/formset.py FormsetDataTableMixin.get_rows/VarMisuse@72/152 `formset`->`row`