471,338 Members | 1,300 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,338 software developers and data experts.

Custom Sorting a Windows Forms Datagrid

I have a Windows Forms DataGrid that has a DataView as a datasource.

My problem is that I want the datagrid to exhibit some special sorting
properties when the header rows are clicked on.

From reading round the newsgroups, it seems that a custom 'IComparer' is the
answer, but I'm not quite sure how to do this. Really, how to get at the
IComparer that the DataGrid/DataView uses for sorting.

Can anyone point me towards a nice example of how to implement customised
sorting in a DataGrid.


Jul 21 '05 #1
0 1518

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Bill C. | last post: by
reply views Thread by Rudolph Araujo | last post: by
2 posts views Thread by Raj | last post: by
reply views Thread by Chris Mayers | last post: by
8 posts views Thread by simchajoy2000 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.