Use only dragging option

4 posts, 1 answers
  1. Marcin
    Marcin avatar
    165 posts
    Member since:
    Jan 2011

    Posted 07 Aug 2014 Link to this post

    Hello
    I just wonder if following functionality is possible with kendo dragging:
    My requirement is following:
    a) I have container
    b) I'm loading image inside, sometimes is bigger sometimes is smaller
    c) If image is bigger I want to be able to move image to see invisible part, something like hidden scrolling but with dragging.

    Kendo dragging has moving functionality already, so I would like if possible use it.

    So my question is that possible?

    Regards
    Marcin
  2. Answer
    Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 08 Aug 2014 Link to this post

    Hi Marcin,

    The described behavior can be achieved like this:

    http://dojo.telerik.com/oKiT/2

    This is a simplified demo, which shows the Kendo UI API that you need to use. Please use it as a starting point to add the final touches (e.g. position restrictions, etc).

    Regards,
    Dimo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Richard Pense
    Richard Pense avatar
    12 posts
    Member since:
    Apr 2009

    Posted 02 Jan 2015 in reply to Dimo Link to this post

    I was looking for similar functionality.  I modified your example in the kendo ui dojo.  I made the container 300 x 300 and the container item 30x30.This works great the first time I move the box.  However when I move the box a second time.  It reverts to it's original position before dragging and the mouse is then at an offset.  Any ideas?

    Thanks,
    Rick
  5. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 04 Jan 2015 Link to this post

    Hello Richard,

    This does not sound like a known issue. Can you post the modified version of your example?

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready