By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,148 Members | 774 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,148 IT Pros & Developers. It's quick & easy.

Doing a Custom Sort on DataGrid

P: n/a
Anyone know how to do a custom sort of a datagrid when a column header is
clicked?

Thanks
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Check out this article
http://www.c-sharpcorner.com/Code/20...mizationP2.asp

Remember, Google is your friend.
Chris

"Neil" <Ne**@discussions.microsoft.com> wrote in message
news:52**********************************@microsof t.com...
Anyone know how to do a custom sort of a datagrid when a column header is
clicked?

Thanks

Nov 21 '05 #2

P: n/a
Chris:

Appreciate the link. The issue I have is I need to have a custom sorter
based on
absolute value of the numeric data. So the Sort Property is not going to work.

I am trying to find how to do a custom sorter for the datagrid/datview

"Chris, Master of All Things Insignifican" wrote:
Check out this article
http://www.c-sharpcorner.com/Code/20...mizationP2.asp

Remember, Google is your friend.
Chris

"Neil" <Ne**@discussions.microsoft.com> wrote in message
news:52**********************************@microsof t.com...
Anyone know how to do a custom sort of a datagrid when a column header is
clicked?

Thanks


Nov 21 '05 #3

P: n/a
If all else fails you, create a new column that is not show in the grid that
contains the Absolute value.

Chris

"Neil" <Ne**@discussions.microsoft.com> wrote in message
news:92**********************************@microsof t.com...
Chris:

Appreciate the link. The issue I have is I need to have a custom sorter
based on
absolute value of the numeric data. So the Sort Property is not going to
work.

I am trying to find how to do a custom sorter for the datagrid/datview

"Chris, Master of All Things Insignifican" wrote:
Check out this article
http://www.c-sharpcorner.com/Code/20...mizationP2.asp

Remember, Google is your friend.
Chris

"Neil" <Ne**@discussions.microsoft.com> wrote in message
news:52**********************************@microsof t.com...
> Anyone know how to do a custom sort of a datagrid when a column header
> is
> clicked?
>
> Thanks


Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.