I have used the popup editing of grid from the "http://demos.kendoui.com/web/grid/editing-popup.html". Its working fine but i want to change the text of that Update button.So please can any body help me.I am new in this kendo user.
8 Answers, 1 is accepted
0
German
Top achievements
Rank 1
answered on 26 Oct 2012, 01:08 PM
I think it's when you define commands for the grid. Like this:
columns.Command(command =>
{
command.Edit().UpdateText("Save my Changes").CancelText("Cancel all").Text("Edit");
command.Destroy().Text("Delete for good");
}).Width(200);
Hope it helps
columns.Command(command =>
{
command.Edit().UpdateText("Save my Changes").CancelText("Cancel all").Text("Edit");
command.Destroy().Text("Delete for good");
}).Width(200);
Hope it helps
1
Dark
Top achievements
Rank 1
answered on 07 Nov 2012, 05:46 AM
edit:function(e){
var title = $(e.container).parent().find(".k-window-title");
var update = $(e.container).parent().find(".k-grid-update");
var cancel = $(e.container).parent().find(".k-grid-cancel");
//e.container.kendoWindow("title","修 改");
$(title).text('修 改');
$(update).html('<span class="k-icon k-update"></span>修 改');
$(cancel).html('<span class="k-icon k-cancel"></span>取 消');
},
var title = $(e.container).parent().find(".k-window-title");
var update = $(e.container).parent().find(".k-grid-update");
var cancel = $(e.container).parent().find(".k-grid-cancel");
//e.container.kendoWindow("title","修 改");
$(title).text('修 改');
$(update).html('<span class="k-icon k-update"></span>修 改');
$(cancel).html('<span class="k-icon k-cancel"></span>取 消');
},
0
Dark
Top achievements
Rank 1
answered on 08 Nov 2012, 07:29 AM
This is the use of options,it's so good so easy
command: [{name:"edit",text:{edit: "编 辑", update: "修 改", cancel: "取 消"}}
command: [{name:"edit",text:{edit: "编 辑", update: "修 改", cancel: "取 消"}}
0
Henry
Top achievements
Rank 1
answered on 09 Feb 2014, 03:14 AM
good job.
让我找了半天.
让我找了半天.
0
Henry
Top achievements
Rank 1
answered on 09 Feb 2014, 03:25 AM
How can i batch submit info in popup model ?
0
Hi Henry,
Please note that currently the batch updates are supported out of the box only for "incell" edit mode of the Grid.
Regards,
Vladimir Iliev
Telerik
Please note that currently the batch updates are supported out of the box only for "incell" edit mode of the Grid.
Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mario
Top achievements
Rank 1
answered on 05 Jan 2015, 04:20 PM
How can I also add a delete button with custom language?
I tried following, but it does not work
{ command: [{name:"edit", text:{edit: "Editieren", update: "Aktualisieren", cancel: "Abbrechen"}},
{name:"destroy", text:{destroy: "test"}}
] }
I tried following, but it does not work
{ command: [{name:"edit", text:{edit: "Editieren", update: "Aktualisieren", cancel: "Abbrechen"}},
{name:"destroy", text:{destroy: "test"}}
] }
0
Hello,
For the "destroy" command you should set the localized message directly to the "text" option instead of nesting it in another object:
Regards,
Vladimir Iliev
Telerik
For the "destroy" command you should set the localized message directly to the "text" option instead of nesting it in another object:
{
command: [{
name:
"edit"
,
text: {
edit:
"Editieren"
,
update:
"Aktualisieren"
,
cancel:
"Abbrechen"
}
}, {
name:
"destroy"
,
text:
"test"
}]
}
Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!