lunes, 18 de agosto de 2014

KENDO EDITOR POPUP CON TITULO PERSONALIZADO (how to get kendoui grid popup add/edit form created from kendo template, show the correct title for add and edit operations?)

<div id="grid"></div>

$("#grid").kendoGrid({
    columns: [
        { field: "name" },
        { field: "age" },
        { command: "edit" }
    ],
    dataSource: {
        data: [
            { id: 1, name: "Jane Doe", age: 30 },
            { id: 2, name: "John Doe", age: 33 }
        ],
        schema: {
            model: { id: "id" }
        }
    },
    editable: {
        mode: "popup",
        window: {
            title :"This is the title"
        }
    },
    toolbar: [{ name: 'create', text: 'Add' }]

http://jsfiddle.net/OnaBai/XN5rM/2/
http://stackoverflow.com/questions/19374775/how-to-get-kendoui-grid-popup-add-edit-form-created-from-kendo-template-show-th
http://stackoverflow.com/questions/13363458/kendo-ui-grid-with-custom-popup-template-unbind-error

No hay comentarios:

Publicar un comentario