DataColumnSortEvent

**Category:** Event

**Description:** Represents an event triggered when a user sorts a column within a DataTable control.

**Inheritance:** Inherits from flet.Event.

Properties

  • **ascending** (bool)
  • * Indicates whether the sort order for the column is ascending. * metadata={'data_field': 'asc'}

  • **column_index** (int)
  • * The zero-based index of the column that was sorted. * metadata={'data_field': 'ci'}