(self)
return self.rows
Return the rows for the current page if the table is paginated, else all rows.
Return the rows for the current page if the table is paginated, else all rows.
Return the rows for the current page if the table is paginated else all rows .
def paginated_rows(self):
        """
        Return the rows for the current page if the table is paginated, else all rows.
        """
        if hasattr(self, "page"):
            return self.page.object_list
        return self.rows
def paginated_rows ( self ) : if hasattr ( self , "page" ) : return self . page . object_list return self . rows