|
-
Apr 5th, 2004, 07:30 AM
#1
Thread Starter
Fanatic Member
how to sort a listview on a different column than was clicked *RESOLVED*
I understand sorting on columns using the IComparer.
Can anyone tell me how to sort on a different column than was clicked.
Last edited by davidrobin; Apr 5th, 2004 at 07:52 AM.
-
Apr 5th, 2004, 07:51 AM
#2
Thread Starter
Fanatic Member
Even though I searched the forums I did not find a specific answer to this one.
I have since sorted it out. You have to write a seperate class for each sort method which is basically each column.
-
Apr 5th, 2004, 09:37 AM
#3
Frenzied Member
if the data is pulled from a database would it be easier to simply re-query and use an ORDER BY clause?
I haven't fooled with the iCompare yet so I don't know if that difficult or not.
-
Apr 5th, 2004, 09:59 AM
#4
Thread Starter
Fanatic Member
I thought is was hard but (like anything) it isn't that hard once you know.
My data isn't actually pulled from a database, its pulled from a number of text files.
-
Jul 11th, 2004, 08:30 PM
#5
Addicted Member
Does anyone have this CODE for sorting by column clicked on a Listview in VB.NET ???
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|