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

scroll grid while dragging cell

3 Answers 100 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Froggie
Top achievements
Rank 1
Froggie asked on 06 Feb 2012, 04:10 PM

How can I scroll the grid while I'm dragging a cell from the same grid?

Here is a sample-project to clarify my question (file is deleted): sample-project

3 Answers, 1 is accepted

Sort by
0
Accepted
Svett
Telerik team
answered on 09 Feb 2012, 12:02 PM
Hello Froggie,

You should use the QueryContinueDrag event to perform scrolling when the mouse pointer is out side the grid. I am enclosing modified version of your project, where I have implemented the approach for you.

Regards,
Svett
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Froggie
Top achievements
Rank 1
answered on 09 Feb 2012, 12:51 PM
Wow! That much code for such a (relative) simple function?
Wouldn't it be cool to have it inbuilt?

Thank you anyway for your reply!
0
Svett
Telerik team
answered on 14 Feb 2012, 02:39 PM
Hello Froggie,

Currently, the scrolling functionality works out of the box for the built-in drag and drop of rows. We are aware of this limitation when the SelectionMode is CellSelect and we will improve it in one of the next releases. Here is a link to the PITS item, where you can add your vote for this  request:  http://www.telerik.com/support/pits.aspx#/public/winforms/9742.

Let me know if you have any additional questions.

Regards,
Svett
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
GridView
Asked by
Froggie
Top achievements
Rank 1
Answers by
Svett
Telerik team
Froggie
Top achievements
Rank 1
Share this question
or