This is a migrated thread and some comments may be shown as answers.

Custom Sorting: Disable Highlighting

1 Answer 143 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ole Albers
Top achievements
Rank 2
Ole Albers asked on 26 Apr 2010, 10:09 AM
Hi there,

I just managed to implement custom sorting on the radGrid, which works just fine.

But now I came to this problem:

I offer different links to fill that grid with data. Whenever I change the data displayed the sorting should be disabled. What is quite easy, 'cause I do the sort programmaticly. The only problem is: When the user sorted a column before, that column is still highlighted.

So to make it simple:

I am searching for a way to reset all Sorting-Related-Information (which Column is sorted, what direction it is sorted) if a radGrid. Shouldn't be that hard to do, I just cannot find it.

1 Answer, 1 is accepted

Sort by
0
Ole Albers
Top achievements
Rank 2
answered on 26 Apr 2010, 01:50 PM
Replying to myself:

It was RadGrid1.MasterTableView.SortExpressions.Clear()

I knew it would be something damn simple. :)


Tags
Grid
Asked by
Ole Albers
Top achievements
Rank 2
Answers by
Ole Albers
Top achievements
Rank 2
Share this question
or