Hello,
Currently when ever I use an ultra grid, clicking on the header of any column, will sort the column in ascending first and then in descending when I click it again. Is there a way to reverse this behavior ?
As in Sort the column in Descending first and then in Ascending ?
Thanks,
Ashwin
Thanks for the quick reply Mike, It works great.
This same question is answered here along with some sample code:
Initial sort direction - Infragistics Community
Tess,
Thanks for the reply. Here is what I want it to do.
When a user clicks on the column by default the columns sort by ascending I think.
But I want it to sort by descending.
I know that I could do it programmatically like you said, but that would make the gird sort by desc even before the user touches the column.
Is there a way I could do it... ? Like may be some event that fires and I can capture the column name that has been clicked and then check to see if the sortindicator is default then set it to desc ..
thanks,
Try using SortIndicator.
Ex:
band.Coulumns["Column Key Name"].SortIndicator = SortIndiactor.Descending;