バックボーン コレクションと剣道グリッドを使用していくつかのデータをロードしました。カスタム更新コマンドを追加してイベントを割り当てましたが、イベントが発生しません。助けてください。
$("#grid").kendoGrid({
editable: true,
batch: true,
columns: ["Name", "Description", "Date", { command: { text: "Update Me", name:"Update", click: onEdit }, title: " ", width: "140px"}],
dataSource: {
schema: {
model: docWrapper
},
data: new documentlistWrapper((window.docs))
},
pageSize:5
});
}
});
function onEdit(e)
{
alert("hello");
}