scroll grid while dragging cell

4 posts, 1 answers
  1. Froggie
    Froggie avatar
    29 posts
    Member since:
    Jan 2012

    Posted 06 Feb 2012 Link to this post

    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

  2. Answer
    Svett
    Admin
    Svett avatar
    728 posts

    Posted 09 Feb 2012 Link to this post

    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 >>
  3. Froggie
    Froggie avatar
    29 posts
    Member since:
    Jan 2012

    Posted 09 Feb 2012 Link to this post

    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!
  4. Svett
    Admin
    Svett avatar
    728 posts

    Posted 14 Feb 2012 Link to this post

    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 >>
Back to Top