i wnat to know how to sort column value like this.
H21-1
H21-10
H21-2
to
Sort data before binding and then proceed with binding. but when client click header to change sorted Data.then data is sorted erratically.
Thank you for answering. I Will try this code.
Hello Dave,
You can customize the sorting of a column by implementing IComparer interface. You will write your own sorting rules in IComparer.Compare() method, and assign the class instance to UltraGridColumn.SortComaprer property.
SortComparer Propertyhttps://es.infragistics.com/help/winforms/infragistics.win.ultrawingrid~infragistics.win.ultrawingrid.ultragridcolumn~sortcomparer
I have created a sample for your reference.Please feel free to modify IComparer.Compare() method according to your requirements.
3348.WindowsFormsApp1.zip