Toolbar Template with Tag Helper

2 posts, 0 answers
  1. Johannes
    Johannes avatar
    32 posts
    Member since:
    Feb 2017

    Posted 02 Jul 2020 Link to this post

    I'm trying to create a toolbar with a dropdown menu in my grid, similar to the demo shown here:

    I can not find any information on doing it with tag helpers.

  2. Tsvetomir
    Tsvetomir avatar
    789 posts

    Posted 07 Jul 2020 Link to this post

    Hi Johannes,

    At present, the toolbar template is not available with the TagHelpers of the Telerik UI Grid. I encourage you to vote for this item in our feedback portal so that it gains popularity and gets implemented in any of the upcoming versions. 

    As a temporary workaround, you can plug the whole template inside a bottom and achieve the same functionality:

        <toolbar-button template="myTemplate"></toolbar-button>
    function myTemplate(e) {
        return "<button id='1'>btn 1</button> <button id='2'>btn 2</button>";

    I hope you find this helpful.


    Best regards,
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top