Back to Devexpress

TcxDataControllerMultiThreadedOptions.Sorting Property

vcl-cxcustomdata-dot-tcxdatacontrollermultithreadedoptions.md

latest2.4 KB
Original Source

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

TypeDefaultDescription
TdxDefaultBooleanbDefault
  • 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

TcxTreeListOptionsData.MultiThreadedSorting Property

TcxDataControllerMultiThreadedOptions Class

TcxDataControllerMultiThreadedOptions Members

cxCustomData Unit