Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I disable end user sorting of the XtraTreeList?

I am displaying a fixed sequence in the tree list along with some values and clicking on the header will sort it by the value in the column that belongs to the header.

I haven't found any obvious property of the XtraTreeList that would disallow this sorting.

like image 390
Tomas Pajonk Avatar asked Jul 09 '09 10:07

Tomas Pajonk


2 Answers

For each column of your TreeList, turn off AllowSort - it's one of the subproperties listed under OptionsColumn.

like image 80
Bevan Avatar answered Sep 28 '22 15:09

Bevan


The sorting is disabled per column. You cannot disable for the whole tree list.

like image 28
Tomas Pajonk Avatar answered Sep 28 '22 14:09

Tomas Pajonk