Welcome Guest Search | Active Topics | Sign In | Register

Grid Sort with fixed column Options
mendy
Posted: Monday, August 8, 2011 9:29:19 AM
Rank: Member
Groups: Member

Joined: 5/27/2010
Posts: 22
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.
eo_support
Posted: Monday, August 8, 2011 11:09:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This appears to be a bug. We will look into it and see what we can do.

Thanks!
eo_support
Posted: Saturday, August 20, 2011 10:30:38 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We have posted a new build that should fix this problem. You can download it from our download page.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.