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. Kendo UI is VS 2017 Ready
  4. 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!
  5. Hristo Germanov
    Admin
    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.

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

    Posted 07 Sep 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?

  7. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 09 Sep Link to this post

    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.
     
Back to Top
Kendo UI is VS 2017 Ready