Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1440
UltraListView - ColumnSorting?
posted

I have an UltraListView with just one column. How do I use the ColumnSorting method to sort the column? Can you provide an example?

  • 20872
    Verified Answer
    Offline posted

    Hello,

    ColumnSorting event is accesible directly from the UltraListView control. This event occurs before the column is sorted. Assuming that you setting the View Style of the control to Details, than you could use the following code to sort the column according to your requirements:

     ultraListView1.MainColumn.Sorting = Infragistics.Win.UltraWinListView.Sorting.Ascending;

     Please feel free to let me know if you have any other questions with this matter.