I see there is a pan event that "fires when the user pans the diagram". However, I can't figure out how to pan the diagram. I tried click on an area without selecting an object then drag, but that's not it.
Can you explain how a user pans the diagram?
Can you explain how a user pans the diagram?
5 Answers, 1 is accepted
0
Matthew
Top achievements
Rank 1
answered on 03 Jun 2014, 03:57 AM
The documentation still leaves a lot to be desired for this control, but I found that if you do this, it will allow you to pan:
diagram = $("#mydiagram").getKendoDiagram();
diagram.scroller.enabled = true;
diagram = $("#mydiagram").getKendoDiagram();
diagram.scroller.enabled = true;
0
Gary
Top achievements
Rank 1
answered on 03 Jun 2014, 02:45 PM
Fantastic -- thank you, Matthew!
0
Hi Gary,
Build in panning works with ctrl+left mouse button. Could you try it?
We will update the diagram documentation.
Regards,
Hristo Germanov
Telerik
Build in panning works with ctrl+left mouse button. Could you try it?
We will update the diagram documentation.
Regards,
Hristo Germanov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Scott
Top achievements
Rank 2
answered on 07 Sep 2016, 09:49 AM
Is there a way that can work with only the mouse as we have users who don't have the keyboard available, only the mouse.
i.e. if I could click and drag with the left button on the background (not a shape) work?
0
Hello,
You can set the pannable.key to "none" in order to allow panning without pressing any keys.
Regards,
Daniel
Telerik by Progress
You can set the pannable.key to "none" in order to allow panning without pressing any keys.
Regards,
Daniel
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.