(self)
return AttributeDict(row_attrs)
Return the attributes for a certain row.
Return the attributes for a certain row.
Return the attributes for a certain row .
def attrs(self):
        """Return the attributes for a certain row."""
        cssClass = self.get_even_odd_css_class()

        row_attrs = computed_values(
            self._table.row_attrs, kwargs=dict(table=self._table, record=self._record)
        )

        if "class" in row_attrs and row_attrs["class"]:
            row_attrs["class"] += " " + cssClass
        else:
            row_attrs["class"] = cssClass

        return AttributeDict(row_attrs)
def attrs ( self ) : cssClass = self . get_even_odd_css_class ( ) row_attrs = computed_values ( self . _table . row_attrs , kwargs = dict ( table = self . _table , record = self . _record ) ) if "class" in row_attrs and row_attrs [ "class" ] : row_attrs [ "class" ] += " " + cssClass else : row_attrs [ "class" ] = cssClass return AttributeDict ( row_attrs )