property Group.SortOnClick as SortOnClickEnum

Retrieves or sets a value that indicates whether the group sorts automatically the data when the user click on column's caption.

TypeDescription
SortOnClickEnum A SortOnClick expression that indicates whether the group sorts automatically the data when the user click on the column's caption.

Use the SortOnClick property to disable sorting items when the user clicks on the column's header.

There are two methods to get the items sorted like follows: