Skip to content

SortState

SortState(*, key='', descending=False)

Active sort: the column key + direction. The header for key shows the arrow and its link toggles asc↔desc; other sortable headers link to asc.

Attributes:

  • descending (bool) –
  • key (str) –
descending: bool = False
key: str = ''