search

Home  >  Q&A  >  body text

In Angular, can I integrate a tree view into the Syncfusion document editor on button click?

I created a custom button in the syncfusion document editor toolbar and named it tree view. I want to add tree view functionality to my document editor. Is there any way to implement tree view functionality in syncfusion's document editor. Please help me solve this problem.

P粉713866425P粉713866425230 days ago360

reply all(1)I'll reply

  • P粉322319601

    P粉3223196012024-04-02 00:49:15

    In Word documents, we can only add predefined elements supported by Microsoft Word. It is not feasible to add a custom control in a Word document and bind UI actions to that control. Therefore, this request cannot be implemented in Microsoft Word and Syncfusion document editors as well.

    Alternative solutions that have been verified in the Syncfusion Document Editor are:

    1. Add a button to the toolbar to open the tree view designer popup.
    2. Create a popup window to design a tree view component with insert and cancel buttons.
    3. The Insert button converts the designed tree view into an image and inserts it at the cursor position within the document editor.

    However, we have determined that your requirements cannot be met using the Syncfusion Document Editor.

    Cause: In syncfusion treeview, there is no option to get the treeview as an image. Therefore, it is not possible to implement the "insert button that converts the designed tree view into an image and inserts it at the cursor position in the document editor".

    reply
    0
  • Cancelreply