Multi-column Sorting in Listview
From: Manjunath M V (man.hegde_at_gmail.com)
Date: 08/19/04
- Next message: RichM: "Re: Serialization disaster"
- Previous message: Pete: "Suppressing enter event"
- Next in thread: Lebrun Thomas: "RE: Multi-column Sorting in Listview"
- Reply: Lebrun Thomas: "RE: Multi-column Sorting in Listview"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Aug 2004 21:06:33 +0530
Hi,
Is there any sample available for implementing multiple column sorting
in .net listview control? My requirements are as follows:
1. When the user clicks on a column, the list view content should be
sorted based on this column. Now if he holds a Ctrl key and then presses
another column, a “subsorting” should happen in the already sorted
content based on this second column.
2. If the user now clicks on any column without holding the Ctrl key,
sorting should happen only based on this field.
3. Display an Up/Down arrow symbol in a column used for sorting. This
would visually indicate to the user about whether a column is sorted in
ascending / descending order.
4. Clicking on a column already used for sorting should reverse the
order. In multi-column sorting mode, the user should use Ctrl key in
conjunction with column clicks for this purpose.
5. The primary sort column should have a larger/darker arrow and the
secondary column should have a smaller/lighter arrow. The secondary
column arrow should not display if there is no secondary sort order.
Thanks in advance for any help!
Regards,
Manju
- Next message: RichM: "Re: Serialization disaster"
- Previous message: Pete: "Suppressing enter event"
- Next in thread: Lebrun Thomas: "RE: Multi-column Sorting in Listview"
- Reply: Lebrun Thomas: "RE: Multi-column Sorting in Listview"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|