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

Change name button edit and destroy in grid

3 Answers 1209 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Giancarlo Guillen
Top achievements
Rank 1
Giancarlo Guillen asked on 12 Nov 2012, 08:44 PM
Hello, How change name button edit and destroy in kendogrid, i need display "editar" or "eliminar", not "edit" and "delete".
And, how change display text on button in popup, and display text button "Add New Record"
Thanks, 

Giancarlo

3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 13 Nov 2012, 08:56 PM
Hi Giancarlo,

You can achieve this as set the text to the buttons through the Text property. For example:  
.Columns(columns =>
    {
      //....
     columns.Command(command => { command.Edit().Text("editar"); command.Destroy().Text("eliminar"); });
    })

 
Regarding the "Add new record" - you can change it via the toolbar Text property:  

.ToolBar(toolbar => toolbar.Create().Text("CustomText"))

As for the "display text on button in popup" I am not quite sure which button do you mean. Could you please elaborate a bit more?
 
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!
0
Giancarlo Guillen
Top achievements
Rank 1
answered on 13 Nov 2012, 09:18 PM
i meant, buttons save and cancel in popup 
editable: "popup", // enable editing
i need change text in button, thanks

Giancarlo
0
Accepted
Iliana Dyankova
Telerik team
answered on 14 Nov 2012, 04:50 PM
Hello Giancarlo,

I apologize for the misunderstanding. You can achieved this using the following code snippet: 
columns.Command(command => { command.Edit().UpdateText("CustomUpdate").CancelText("CustomCancel"); });

Kind 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
Giancarlo Guillen
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Giancarlo Guillen
Top achievements
Rank 1
Share this question
or