Click to See Complete Forum and Search --> : How to Sort Columns in List View -- Just like Windows Explorer


September 27th, 1999, 02:35 AM
Hi,

I am using ListView Control.. I want to sort the listview on a particular column when user selects it. Is there any direct way of doing this.. And can I set colors to rows in a Listview control.. Like I have a situation where I want alternate colours to be displayed.. Is it possible

Regards

Surya Prakash

Crazy D @ Work
September 27th, 1999, 03:04 AM
Set the sorted property to true and set the sortkey to the column number you want to sort on.

Crazy D @ Work :-)