Toolbar template

2 posts, 0 answers
  1. Fabio Masini
    Fabio Masini avatar
    7 posts
    Member since:
    Oct 2005

    Posted 17 Sep 2019 Link to this post


    I've tried to apply a toolbar template, like other components, but it is ignored and it's show the standard toolbar.

    There is just a way to do a toolbar customization, or is it necessary to wait an implementation directly in the component source?



  2. Nencho
    Nencho avatar
    1881 posts

    Posted 19 Sep 2019 Link to this post

    Hello Fabio,

    The nested Toolbar of the PDF Viewer (which is actually our Toolbar component) provides a template functionality, only on a tool level. That said, you can customize the tools, in a manner, demonstrated in the last example of the following documentation article:

            toolbar: {
                items: [
                    name: "myCustomTool",
                    template: "<select id='myDropdown'></select>"
                dataSource: ["Option 1", "Option 2", "Option 3"]

    Hope this information helps. Please let me know, should you have any further questions or if you need any specific customization.

    Progress Telerik

Back to Top