Hi.
I am using the sort example I saw posted here and am having a problem when there is a fixed column, the fixed column is going into the sort.
Heres the code.
Grid1.ScrollBars = EO.Web.ScrollBars.Auto
Dim sortColumn As EO.Web.GridColumn = Nothing
Dim column As EO.Web.GridColumn
For Each column In Grid1.Columns
column.AllowSort = True
If column.SortOrder <> EO.Web.SortOrder.None Then
sortColumn = column
End If
Next
If sortColumn Is Nothing Then
sortColumn = Grid1.Columns(1)
sortColumn.SortOrder = EO.Web.SortOrder.Ascending
End If
What's happening is the Total column which I have at the bottom, is being repeated when I sort it goes to the top .
Please help, thanks.