Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Collapse]Tree List
   [Expand]Product Information
   [Expand]Feature Center
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Collapse]End User Capabilities
     Navigating Through Nodes and Cells
     Data Editing
     Expanding and Collapsing Nodes
     Selecting Nodes
     Resizing Nodes and Columns
     Controlling the Visibility of Columns
     Reordering Columns and Nodes
     Sorting
     Applying Summaries
   [Expand]Member Tables
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Sorting

The following operations can be performed by end-users to apply or cancel sorting by column values.

ActionEffect
Clicking a column header Toggles the column's sort order. The previous sorting is removed.
Clicking a column header while holding the SHIFT key pressed Toggles the column's sort order. The previous sorting is preserved.
Clicking a column header while holding the CTRL key pressed Removes sorting by this column. The previous sorting is preserved.
Selecting the "Sort Ascending" or "Sort Descending" items in the column header's context menu Applies the corresponding sort order to the column. The previous sorting is preserved.

 

Notes:

  • The data can be sorted by columns whose TreeListOptionsColumn.AllowSort option is active.
  • When clicking an unsorted column's header, column values are sorted in ascending order.

Expanded See Also

How would you rate this topic?​​​​​​​