Results 1 to 4 of 4

Thread: Sorting a listview w/ multiple columns..

  1. #1

    Thread Starter
    Lively Member HerculesMO's Avatar
    Join Date
    Apr 2001
    Posts
    80
    I have two columns in my listview, and I want to sort by either column.

    If I clicked on the first column, it would sort alphabetically by the first column, and same for the second.

    Any help? I'm confused

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    change the SortKey property to the index of the column you click on, I don't know the Sub declaration for the ColumnClick event, or I would give you an example...
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Lively Member HerculesMO's Avatar
    Join Date
    Apr 2001
    Posts
    80
    Thanks, I got it

  4. #4
    Registered User Nucleus's Avatar
    Join Date
    Apr 2001
    Location
    So that's what you are up to ;)
    Posts
    2,530
    Prediction, next question = how to sort dates?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width