Full Row Selection In DataGrid
From: Neo (Neo_at_discussions.microsoft.com)
Date: 01/20/05
- Next message: Pete Davis: "Re: How to get the Windows user and group names."
- Previous message: Q. John Chen: "Re: DateTimePicker default value"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 20 Jan 2005 10:03:03 -0800
Hi,
I need to implement the full row selection on the datagrid, just as it works
on the list view, You know if you press control, or shift, and then click on
a row, well, select rows just as windows explorer does.
I have done somthing like catching the mouse_down event, get the row
clicked, and select it, but I have problems when you need to drag this rows,
because I dont
want them to deselect, and they deselect.
I another thing, if I put the same logic on the mouse_up event, it does not
work,
I dont know why, the grid doesn't render after the mouse_up event.
Any Ideas?
Or if you have already done this, please share it... =)
- Next message: Pete Davis: "Re: How to get the Windows user and group names."
- Previous message: Q. John Chen: "Re: DateTimePicker default value"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|