Listview with checkboxes [2.0]

  • Thread starter Thread starter Jon
  • Start date Start date
J

Jon

Is there a way to sort a listview by what is checked? Whenever you do
sorting, it always only uses the data in the column. I'd like to sort by
what is checked so those are always at the top of the list, and then by
column data.

Thanks
Jon
 
Jon,

You can create your own comparer and sort the items as you want. Look at the
ListView.ListViewItemSorter property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top