This is a migrated thread and some comments may be shown as answers.

Finding the grid row/item under the mouse pointer.

3 Answers 331 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Sterling Wright
Top achievements
Rank 1
Sterling Wright asked on 06 Feb 2009, 09:24 PM
I am trying to implement a simple drag and drop procedure in a RadGridView.  Using the SelectedItem property, I am able to tell which item in the grid I am using when I start dragging, but I also need to know which item they are dropping the item on.  How can I find which item in the list is at a specific position  (e.GetPosition)?

Sterling

3 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 10 Feb 2009, 09:54 AM
Hi Sterling Wright,

I have prepared a sample application that demonstrates how to implement drag and drop of rows in RadGridView. Note that I'm using a new feature of the grid RowLoaded event, that is included in the upcoming release of RadControls for WPF .

Hope this will help.

Regards,
Stefan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Sterling Wright
Top achievements
Rank 1
answered on 10 Feb 2009, 11:32 PM
Thanks,

When will this upcoming release be released?  I would like to be able to run this code and see how it works.

Sterling
0
Vlad
Telerik team
answered on 11 Feb 2009, 06:43 AM
Hi Sterling,

You can run the example immediately - the demo is attached! Our release is scheduled for early march.

Best wishes,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Sterling Wright
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Sterling Wright
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or