Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Windows Forms
  4. listview alternative

listview alternative

Scheduled Pinned Locked Moved Windows Forms
csharpalgorithmsquestion
5 Posts 5 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    digicd1
    wrote on last edited by
    #1

    Are there any alternatives to using a listview in new versions of .Net? I like listviews but the versions of .Net I use (2005 & 2008) require coding to be put in to sort the listview. It would be nice to be able to use a control that has sorting already built in. Thank you, Chad

    L G A G 4 Replies Last reply
    0
    • D digicd1

      Are there any alternatives to using a listview in new versions of .Net? I like listviews but the versions of .Net I use (2005 & 2008) require coding to be put in to sort the listview. It would be nice to be able to use a control that has sorting already built in. Thank you, Chad

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      A DataGridView has default sorting; so does a ListBox. And obviously you can disable or override it. :)

      Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

      1 Reply Last reply
      0
      • D digicd1

        Are there any alternatives to using a listview in new versions of .Net? I like listviews but the versions of .Net I use (2005 & 2008) require coding to be put in to sort the listview. It would be nice to be able to use a control that has sorting already built in. Thank you, Chad

        G Offline
        G Offline
        Ger Hayden
        wrote on last edited by
        #3

        I agree. DataGridView can do so much more. Many of the examples on line are VB or C#, but it doesnt take much to turn the C# to C++/CLI if needs be.

        Ger

        1 Reply Last reply
        0
        • D digicd1

          Are there any alternatives to using a listview in new versions of .Net? I like listviews but the versions of .Net I use (2005 & 2008) require coding to be put in to sort the listview. It would be nice to be able to use a control that has sorting already built in. Thank you, Chad

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4

          A DataGridView is always heavier (in terms of resources) when compared to a list view (due to the number of features it offers). So use a ListView unless you absolutely have to use a grid view.

          The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick

          1 Reply Last reply
          0
          • D digicd1

            Are there any alternatives to using a listview in new versions of .Net? I like listviews but the versions of .Net I use (2005 & 2008) require coding to be put in to sort the listview. It would be nice to be able to use a control that has sorting already built in. Thank you, Chad

            G Offline
            G Offline
            ghaberek
            wrote on last edited by
            #5

            Check out ObjectListView. It takes some time to get used to, but overall it's much more powerful than a standard ListView. http://objectlistview.sourceforge.net/cs/index.html[^]

            -Greg

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups