We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to move the diagram view via code...

Thread ID:

Created:

Updated:

Platform:

Replies:

146190 Jul 24,2019 07:59 PM UTC Jul 26,2019 12:38 PM UTC React - EJ 2 1
loading
Tags: Diagram
Scott Farriss
Asked On July 24, 2019 07:59 PM UTC

I am looking to provide more information for a selected node.  Once a node is selected I would like to slide the entire diagram over so the left edge of the node is near the left edge of the window.  What is the proper way to do this?

Ramya Thirugnanam [Syncfusion]
Replied On July 26, 2019 12:38 PM UTC

Hi Scott,  
  
Thanks for contacting Syncfusion support. 
 
We can use scrollSettings horizontalOffset property to move the diagram to left edge of the window. If the selected node offset is greater than minimum offset node in diagram, then the minimum offset node will move to the negative axis of diagram. Please confirm us whether the node moves to the negative axis not affect your application scenario? This will help us to serve you better. 
  
Regards, 
Ramya T 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon