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

Hide command buttons icon

1 Answer 254 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tomas
Top achievements
Rank 1
Tomas asked on 03 Apr 2013, 01:48 PM
How to add command button icons? I would like to show only text. 

For example command below display Delete button but I would like to hide icon which appears near the button.

 columns.Command(commands =>
 {
commands.Destroy()
})

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 03 Apr 2013, 02:29 PM
Hi Tomas,

In order to achieve this you should override the default Grid buttons' styling. For example: 
<style>
.k-icon.k-delete{
    background: none;
}
</style>

Regards,

Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Tomas
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or