Welcome Guest Search | Active Topics | Sign In | Register

Grid sorting Options
Vinny
Posted: Friday, July 25, 2008 1:32:06 PM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2008
Posts: 90
Hi,

I just checked that if the grid is showing 2 pages and if I go to 2nd page and do some sorting then it also consider all records to sort (i.e, both 1 and 2 page).

Is this behavior is normal?

Vinny
eo_support
Posted: Friday, July 25, 2008 1:57:19 PM
Rank: Administration
Groups: Administration

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

That's one of the area where some users wanted it this way and some people wanted it to be the other way. We believe sorting the whole data set makes more sense because user often wants to be able to sort first, then go to certain page to look for what they are after and because the whole Grid is sorted, if they can not find what they look for in the current page, they will know whether they should go forward or backwards. If we were to sort within a simple page the user would be completely lost when they can not find what they look for in the current page.

Thanks
Vinny
Posted: Friday, July 25, 2008 2:04:45 PM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2008
Posts: 90
I understand. As you also said that some users are looking this way and others the other way.

I was just wondering if it is possible to have both like whether to be GridSort or PageSort. That will really cover both the users. It's just a suggesstion and would be great to have it. Like users at my end they do PageSort.

Thanks,

Vinny
eo_support
Posted: Friday, July 25, 2008 2:33:27 PM
Rank: Administration
Groups: Administration

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

Thanks for your suggestions. We have looked into this before and decided against it. Supporting both would be nice, but we were concerned about making the component over bloated or complicated because comparing with GridSort, PageSort is much less used. In reality, it is not practical for us to include all requested features, thus we decided against this one.

However the Grid doesn't do it doesn't mean you can't do it by yourself. You can handle ColumnSort event to do the sort by yourself:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.Grid.ColumnSort.html
http://www.essentialobjects.com/ViewDoc.aspx?t=Grid%2fsorting.html

Since it is a server side event, it only works on Server Mode or Callback mode. Which means you will not have sorting on the client side.

Thanks
Vinny
Posted: Friday, July 25, 2008 2:45:06 PM
Rank: Advanced Member
Groups: Member

Joined: 7/21/2008
Posts: 90
I understand. Will keep this option open for users.

Thanks,

Vinny


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.