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

Re: Listview with checkboxes [2.0] by Stoitcho

Stoitcho
Fri Jan 19 10:16:34 CST 2007

Jon,

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


--
HTH
Stoitcho Goutsev (100)

"Jon" <rosenberg@mainstreams.com> wrote in message
news:e%23KL878OHHA.400@TK2MSFTNGP04.phx.gbl...
> 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
>