Sort a single column in the windows grid

peesapati

New member
Joined
Sep 8, 2004
Messages
1
Programming Experience
3-5
Hi,

I would like to sort a single column in the grid when the user clicks on that particular column's header. When I use the following code in the InitializeLayout event :

e.Layout.Override.HeaderClickAction = UltraWinGrid.HeaderClickAction.SortSingle

OR

e.Layout.Bands(0).Columns("SubscriberLastName").SortIndicator = UltraWinGrid.SortIndicator.Ascending

the user is able to sort by all the columns. I would like to restrict this sort feature to only one specific column in the grid. Please suggest a solution.

Thanks in advance,
Prasad P
 
Back
Top