Does panning work?

6 posts, 0 answers
  1. Gary
    Gary avatar
    62 posts
    Member since:
    Sep 2013

    Posted 02 Jun 2014 Link to this post

    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?
  2. Matthew
    Matthew avatar
    2 posts
    Member since:
    Jun 2014

    Posted 02 Jun 2014 Link to this post

    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;
  3. Gary
    Gary avatar
    62 posts
    Member since:
    Sep 2013

    Posted 03 Jun 2014 in reply to Matthew Link to this post

    Fantastic -- thank you, Matthew!
  4. Hristo Germanov
    Hristo Germanov avatar
    703 posts

    Posted 04 Jun 2014 Link to this post

    Hi Gary,

    Build in panning works with ctrl+left mouse button. Could you try it?

    We will update the diagram documentation.

    Hristo Germanov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  5. Scott
    Scott avatar
    3 posts
    Member since:
    May 2012

    Posted 07 Sep 2016 in reply to Hristo Germanov Link to this post

    Is there a way that panning 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?

  6. Daniel
    Daniel avatar
    2177 posts

    Posted 09 Sep 2016 Link to this post


    You can set the pannable.key to "none" in order to allow panning without pressing any keys.

    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top