Multiple diagram pages like Visio

I want to know if your diagram supports multiple pages like Visio, see image below.  For example, rather put multiple diagram controls, then one can be used, where save will save all.  I want to put each diagram page on one tab.  I found a windows example, but did not find one for javascript.    



1 Reply 1 reply marked as answer

GG Gowtham Gunashekar Syncfusion Team June 3, 2021 12:34 PM UTC

Hi Volvick, 
 
Please refer to the following sample for how to add the multiple pages in the diagram. In the sample we have created two buttons in panel at created event and placed the panel below the diagram. One button for the current page and another button for adding the extra page. When a user clicks on the “+” symbol button the current page is stored in the pageOptionList variable and create the new page by call the “clear” API. When clicking on the page button we store the current diagram in the pageOptionList and open the respected diagram for the selected page.   
 
Sample link: https://stackblitz.com/edit/yidikc-hqkztk                                         
Video link: 
 
 
Regards, 
Gowtham 


Marked as answer
Loader.
Up arrow icon