can we edit the templates/css of command buttons in Grid? like Edit/Update/Delete
I want to remove the background of these buttons and the text so only the icons are shown
2 Answers, 1 is accepted
0
Accepted
Alexander Valchev
Telerik team
answered on 02 Apr 2012, 03:30 PM
Hi Hammad,
You can remove the text of the command buttons through the configuration settings. The syntax is the following:
columns: [
//columns
{
command: { name: "destroy", text: ""}, //sets the text of the "Delete" button to an empty string
title: " ",
width: "110px"
}
]
Regarding to the background icons, I suggest to change them using CSS styles. All you need to do is to override the corresponding rules.
For convenience you may check this example - it shows the suggested approach in action.
Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!