Remove the text in Grid Column Inline Command in Kendo UI for ASP.NETMVC
19:52I have came across the issue about how to remove the default text in the update, edit and delete button in Kendo Grid for ASP.NET MVC. So, this is the solution I found,
To remove the text in Edit button, we set it to empty text
E.g.
You could also include some additional CSS to remove the default margin of the command icon. E.g.
Meanwhile, for CancelText and UpdateText methods. E.g.
command.Edit().Text(
" "
);
You could also include some additional CSS to remove the default margin of the command icon. E.g.
.k-
icon
.k-edit {
margin-right
:
0
;
}
Meanwhile, for CancelText and UpdateText methods. E.g.
command.Edit().Text(
" "
).CancelText(
" "
).UpdateText(
" "
);
0 comments