How to change the text of update button

7 posts, 0 answers
  1. Jagruti
    Jagruti avatar
    1 posts
    Member since:
    Oct 2012

    Posted 23 Oct 2012 Link to this post

    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.

  2. German
    German avatar
    11 posts
    Member since:
    Jul 2011

    Posted 26 Oct 2012 Link to this post

    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

  3. Dark
    Dark avatar
    2 posts
    Member since:
    Aug 2012

    Posted 06 Nov 2012 Link to this post

    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>取 消');
    },

  4. Dark
    Dark avatar
    2 posts
    Member since:
    Aug 2012

    Posted 08 Nov 2012 Link to this post

    This is the use of options,it's so good so easy

    command: [{name:"edit",text:{edit: "编 辑", update: "修 改", cancel: "取 消"}}

  5. Henry
    Henry avatar
    2 posts
    Member since:
    Nov 2013

    Posted 08 Feb in reply to Dark Link to this post

    good job.
    让我找了半天.

  6. Henry
    Henry avatar
    2 posts
    Member since:
    Nov 2013

    Posted 08 Feb in reply to Dark Link to this post

    How can i batch submit info in popup model ?

  7. Vladimir Iliev
    Admin
    Vladimir Iliev avatar
    1029 posts
    Member since:
    Aug 2012

    Posted 13 Feb Link to this post

    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

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!

Back to Top