Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Refresh Canvas (Read 1489 times)
liza
Full Member
***
Offline


I Love MindFusion!

Posts: 132
Joined: Apr 25th, 2019
Refresh Canvas
Aug 2nd, 2019 at 3:54am
Print Post  
I want to refresh canvas and render the saved diagram on button click. This time I can refresh but oncalling method which is getting diagram from database rending similar diagram twice thrice... same number of times which is used to click on the button. Please help me
  
Back to top
AIM  
IP Logged
 
Slavcho
YaBB Moderator
*****
Online


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: Refresh Canvas
Reply #1 - Aug 2nd, 2019 at 6:10am
Print Post  
Do you mean it repeats the objects you create from database data? Make sure you are clearing the diagram before loading new dataset, e.g. diagram.clearAll() if loading from client side.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint