Feedback
Let ListBox column sorting be cleared
- Status
- Fixed
- Fixed in
- v26.9.4
- Area
- desktop web
- Source discussion
- https://forum.objo.dev/d/1152-listbox-remove-sort-direction-in-column-when-column-is-sorted
- Last updated
- 2026-09-28
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Once a ListBox column has been sorted, there is no way to remove the sort direction. SortedColumnIndex and SortAscending are read-only, Sort() always sets a direction, and header clicks only toggle between ascending and descending. The only action that clears the indicator today is manually drag-reordering a row.
Add a third "no sort" state so a column's sort can be removed:
- New
SortDirectionproperty (ListBoxSortDirection.None/Ascending/Descending) reporting the current state, withNonewhen unsorted. - New
ClearSort()method that removes the sort indicator while keeping the rows in their current order and selection, regardless ofColumnSortable. - New opt-in
ColumnSortCycleToNoneproperty (defaultFalse). WhenColumnSortableisTrueand this is enabled, clicking the active sorted column's header cycles ascending → descending → no sort. Existing two-state click behaviour is unchanged by default.
Works identically for desktop and web ListBox controls.