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"
            }
            ]
        }
];

ボタンのテキストを編集ポップアップに変更できません。ポップアップの「変更」ボタンと「更新」ボタンをカスタマイズすると...

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"
                }
            }
            ]
        }
];

編集ボタンを変更できません。

4

1 に答える 1