2013-08-16 2 views
1

нужна помощь по настройке кнопок как в сетке редактирования кендо, так и в кнопке редактирования.настроить кнопку в сетке кендо изменить всплывающее окно

если я настроить кнопку редактирования команды

columns = [ 
     { field: "desc_iva", title: "Descrizione", width: 45 }, 
     { field: "codice_iva", title: "Codice", width: 45 }, 
     { field: "imposta", title: "imposta", width: 45 }, 
     { field: "indetr", title: "Indetr", width: 45 }, 
     { field: "note", title: "Note", width: 45 }, 
     { field: "predefinito", title: "Pred.", width: 45 }, 
     { 
      command: [{ 
       name: "destroy", 
       text: "Elimina" 
      },     
      { 
       name: "edit",     
       text: "Customited text" 
      } 
      ] 
     } 
]; 

Я не могу изменить кнопки текст в поле для редактирования всплывающих окон, и если я настроить «Change» и кнопки «Обновить» во всплывающем окне. ..

columns = [ 
     { field: "desc_iva", title: "Descrizione", width: 45 }, 
     { field: "codice_iva", title: "Codice", width: 45 }, 
     { field: "imposta", title: "imposta", width: 45 }, 
     { field: "indetr", title: "Indetr", width: 45 }, 
     { field: "note", title: "Note", width: 45 }, 
     { field: "predefinito", title: "Pred.", width: 45 }, 
     { 
      command: [{ 
       name: "destroy", 
       text: "Elimina" 
      },     
      { 
       name: "edit",     
       text: { 
        title: "adsfg", 
        update: "Aggiorna", 
        cancel: "Cancella" 
       } 
      } 
      ] 
     } 
]; 

не может изменить кнопку редактирования.

ответ

2
command: [{ 
      name: "destroy", 
      text: "Elimina" 
     },     
     { 
      name: "edit",     
      text: { 
       edit: "Modifica", 
       update: "Aggiorna", 
       cancel: "Cancella" 
      } 
     } 
     ] 

Это решение !!!

Смежные вопросы