This is a migrated thread and some comments may be shown as answers.

Grid Tag Helper Update and Cancel Text Command

2 Answers 340 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yannick
Top achievements
Rank 1
Veteran
Yannick asked on 01 Jun 2020, 02:35 PM

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 Answers, 1 is accepted

Sort by
0
Accepted
Silviya Stoyanova
Telerik team
answered on 04 Jun 2020, 08:55 AM

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.
0
Yannick
Top achievements
Rank 1
Veteran
answered on 05 Jun 2020, 01:20 PM

Working perfectly

 

Thanks for the reply

Tags
Grid
Asked by
Yannick
Top achievements
Rank 1
Veteran
Answers by
Silviya Stoyanova
Telerik team
Yannick
Top achievements
Rank 1
Veteran
Share this question
or