Open word file by cliking on button and show etition in another page of editor

Hello,

I m using angular 7 and the component of edit (edit word) :

<ejs-documenteditorcontainer #documenteditor_default [enableToolbar]=true [locale]="culture" (created)="onCreate()" (documentChange)="onDocumentChange()" height="600px" style="display:block;"></ejs-documenteditorcontainer>

I added a button in another page and i want to edit the doc by clicking button and open the template in the document editor. how can I open the doc by clicking in another page.


3 Replies

SM Suriya Murugan Syncfusion Team August 25, 2021 12:34 PM UTC

Hi BADIS,  
 
Syncfusion Greetings! 

We will check your requirement and share details by August 27,2021. 
 
In meantime, can you please confirm on button, from where you want to load docx file? 
 
Regards, 
Suriya M. 



BM BADIS Mariem August 25, 2021 02:05 PM UTC

Hello,


Thank you for your reply,

I have a listcof template with a button edit

I want if i click on botton the template will opened with editorword metionned on the top


Thank you in advance



SM Suriya Murugan Syncfusion Team August 26, 2021 07:32 AM UTC

Hi BADIS, 
 
We have prepared simple sample for your requirement. 
 
 

Documenteditor button click will navigate to next page(javascript.component.ts file) and open default sfdt. You can customize it based on your requirement. 


Also, for your confirmation documenteditor requires server side dependency to import docx file. 

Documentation link: 

Please let us know if you have any questions. 

Regards, 
Suriya M. 


Loader.
Up arrow icon