Home Forums WinForms controls Xceed Grid for WinForms disable sorting Reply To: disable sorting

User (Old forums)
Member
Post count: 23064

Here’s some code to find the ColumnManagerRow programmatically, in all situations:<code>foreach(Row row in grid.FixedHeaderRows) {
ColumnManagerRow cmRow = row as ColumnManagerRow;
if (cmRow != null) {
cmRow.AllowSort = false;
break;
}
}</code>

Imported from legacy forums. Posted by Tommy (had 284 views)