Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxDataControllerMultiThreadedOptions.Sorting Property

Specifies if the data controller uses a multi-threaded data sorting algorithm.

#Declaration

Delphi
property Sorting: TdxDefaultBoolean read; write; default bDefault;

#Property Value

Type Default Description
TdxDefaultBoolean bDefault
  • If bDefault (recommended), the dxDefaultMultiThreadedSorting global constant value specifies if the data controller uses a multi-threaded data sorting algorithm.
  • If bTrue, multi-threaded data sorting is explicitly enabled.
  • If bFalse, multi-threaded data sorting is explicitly disabled.

#Remarks

DevExpress data controllers used in container controls for data management rely on multi-threaded algorithms for data sort, filter, and group operations.

You can use Filtering and Sorting properties to explicitly enable or disable corresponding multi-threaded algorithms in the parent data controller.

Important

We recommend that you leave multi-threaded algorithms enabled to ensure the best application performance. You may need to disable multi-threaded sorting only if you implement a thread-unsafe handler for the DataController.OnCompare event.

#Default Value

The Sorting property’s default value is bDefault.

The default Sorting property value indicates that the dxDefaultMultiThreadedSorting global constant value specifies if the parent data controller uses a multi-threaded data sorting algorithm.

See Also