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

Use only dragging option

3 Answers 20 Views
Drag and Drop
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Veteran
Marcin asked on 07 Aug 2014, 09:19 AM
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

3 Answers, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 08 Aug 2014, 03:05 PM
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!
 
0
Richard Pense
Top achievements
Rank 1
answered on 03 Jan 2015, 03:28 AM
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
0
Petyo
Telerik team
answered on 04 Jan 2015, 11:55 AM
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!
 
Tags
Drag and Drop
Asked by
Marcin
Top achievements
Rank 1
Veteran
Answers by
Dimo
Telerik team
Richard Pense
Top achievements
Rank 1
Petyo
Telerik team
Share this question
or