Grid Tag Helper Update and Cancel Text Command

3 posts, 1 answers
  1. Yannick
    Yannick avatar
    8 posts
    Member since:
    May 2015

    Posted 01 Jun 2020 Link to this post

    Hi,

    We are building grids for client using only tag helper.

    I am trying to apply this solution showing only icon for commands buttons

    https://docs.telerik.com/kendo-ui/knowledge-base/grid-icon-only-buttons

     

      <column  width="200">
                            <commands>
                                <column-command text=" " name="edit"></column-command>
                                <column-command text=" " name="destroy"></column-command>
                            </commands>
                        </column>
                    </columns>

     

    I tried to find the correct syntax taghelper without success

     

  2. Answer
    Silviya Stoyanova
    Admin
    Silviya Stoyanova avatar
    66 posts

    Posted 04 Jun 2020 Link to this post

    Hello  Yannick,

    I have prepared a sample project for your convenience that replicates the implementation from the provided Knowledge Base article. You will notice that to rename the commands with empty strings I am using the messages.commands setting:

    <messages>
                <commands edit=" " update=" " canceledit=" " destroy=" " create=" "/>
    </messages>
    Let me know if you have any questions or need further assistance on that matter.

    Kind Regards,
    Silviya Stoyanova
    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.
  3. Yannick
    Yannick avatar
    8 posts
    Member since:
    May 2015

    Posted 05 Jun 2020 Link to this post

    Working perfectly

     

    Thanks for the reply

Back to Top