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

Change 'edit' label

3 Answers 191 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 12 Oct 2012, 01:59 PM
How can one change the label text of the custom edit command. Thanks

ie: columns.Command(cmd => cmd.Edit())

3 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 17 Oct 2012, 06:13 AM
Hello Marc,

To change the text please use the text property of the command. As an example:
columns.Command(command => { command.Edit().Text("Custom text"); })


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!
0
Marc
Top achievements
Rank 1
answered on 17 Oct 2012, 04:05 PM
Thanks, but that only seems to work on custom commands. If I add the text property to the default edit command, the button does not render at all...
0
Alexander Valchev
Telerik team
answered on 22 Oct 2012, 11:43 AM
Hi Marc,

What KendoUI version are you using? I tested the solution with the Q2 Service Pack (2012.2.913) and got everything to work as expected. Could you please send me a small but runnable project that demonstrates the problem? In this way I would be able to examine your implementation in details and provide you with a concrete recommendations.
Thank you in advance.

Kind 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!
Tags
Grid
Asked by
Marc
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Marc
Top achievements
Rank 1
Share this question
or