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

Does panning work?

5 Answers 183 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Gary
Top achievements
Rank 1
Gary asked on 02 Jun 2014, 11:32 PM
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?

5 Answers, 1 is accepted

Sort by
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;
0
Gary
Top achievements
Rank 1
answered on 03 Jun 2014, 02:45 PM
Fantastic -- thank you, Matthew!
0
Hristo Germanov
Telerik team
answered on 04 Jun 2014, 07:19 AM
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
 
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
Daniel
Telerik team
answered on 09 Sep 2016, 08:35 AM
Hello,

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.
 
Tags
Diagram
Asked by
Gary
Top achievements
Rank 1
Answers by
Matthew
Top achievements
Rank 1
Gary
Top achievements
Rank 1
Hristo Germanov
Telerik team
Scott
Top achievements
Rank 2
Daniel
Telerik team
Share this question
or