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

how translate form buttons in grid mode:'popup'

1 Answer 287 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Asd
Top achievements
Rank 1
Asd asked on 05 Mar 2012, 12:21 PM

$("#grid").kendoGrid(
{
...
editable:
{
update: true,
mode:'popup'
}
...
}

thanks!!

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 06 Mar 2012, 05:00 PM
Hello,

I suggest to use the configuration options to customize the grid controls text. Here is the syntax:
columns: [
    { field: "Id", width: "60px" },
    { field: "City" },
    { command: [
            { name: "edit", text: "CustomEdit" }, // sets the text of the Edit button
            { name: "destroy", text: "Destroy" } // sets the text of the "Delete" button
        ],
        // sets the title and the width of the commands column
        title: " ",
        width: "300px"
    }
],
editable: "popup"

Note that at the moment there are no options to change the text of the buttons in the popup window, but this could be easily achieved with jQuery. In the attached project you can find an example showing this approach in action.
I hope this information helps. 

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
Asd
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or