• All Demos
  • Grid SDK
  • Chart SDK
  • Scheduler SDK
  • Gantt SDK
  • Rich Text Editor SDK
  • Diagram SDK
  • File Manager SDK
  • Document SDK
  • PDF Viewer SDK
  • DOCX Editor SDK
  • Spreadsheet Editor SDK
  • Material 3
  • Bootstrap 5
  • Fluent 2
  • Tailwind CSS
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Sorting API in ASP.NET Core Gantt Control

This sample demonstrates sorting tasks programmatically in the Gantt Chart. Select a column and sort direction from the property panel, then click the Sort button to apply sorting or Clear to remove it.

DEMO
SOURCE
Column
Direction

The Gantt Chart supports programmatic sorting through the sortColumn and clearSorting methods. Sorting can be enabled by setting the allowSorting to true

In this example, choose a column and sort direction from the property panel, then click the Sort button to apply sorting. Click the Clear button to remove the applied sorting. Users can also sort columns interactively by clicking the column headers. Multi-column sorting is supported by holding the CTRL key while selecting additional column headers.

More information on the Essential® Gantt Chart can be found in this sorting documentation section.


Looking for the full ASP.NET Core Gantt Chart component overview, features, pricing, and documentation? Visit the ASP.NET Core Gantt Chart page.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab