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. Image for the cookie policy date

toolbar customization - adding buttons with dropdowns

Hi there i was wondering if its possible to add a button on toolbar (documenteditorcontainer) that has dropdown menu Example :

Button Export TO :

  • PDF
  • DOCX
  • DOC
  • HTML 
cause all i see in docs its plain button , and spreadsheet has buttons with dropdowns, anyway to accomplish this OR has to be a new feature on the library ? 

On DEMOS you set other alternatives but dont like to be separated from the Toolbar. also i think this applies to JS , React, ETC...



3 Replies

SM Suriya Murugan Syncfusion Team December 9, 2022 06:47 AM UTC

Carlos, Apologies for the delay!


Please find the JS sample for reference:

https://stackblitz.com/edit/mgnejp-x3hp5w?file=index.ts



In above sample. we have added save dropdown with required options.



CM carlos mendez December 9, 2022 08:39 PM UTC

Thanks a lot it worked with dropdown and splitbutton.!

Also it should be good to put on the "HOW TO" in documentation.



DS Dhanush Sekar Syncfusion Team December 12, 2022 03:05 PM UTC

Also it should be good to put on the "HOW TO" in documentation.

Carlos, Thanks for your feedback.

We will plan to add this to the "How to" section of our UG documentation.



Loader.
Live Chat Icon For mobile
Up arrow icon