On the server side code I want to be able to sort by two columns. First by Column1 and then by Column2. But when I do it it only sorts by Column2. If I take the code out to sort Column2 it will sort Column1. Am I doing something wrong here?
.Bands(0).Columns.FromKey("Column2").SortIndicator = Infragistics.WebUI.UltraWebGrid.SortIndicator.Ascending.Bands(0).SortedColumns.Add(.Bands(0).Columns.FromKey("Column2"), True)
Sure enough, that is what I needed.
Thank you!
Make sure you have the HeaderClickAction of both columns set to "SortMulti", or they'll only allow a single-column sort. Alternately, set the DisplayLayout.HeaderClickActionDefault to "SortMulti" to affect all columns.