我一直在試圖實現一個「刪除」按鈕的黑色行。一個解決方案似乎說明如下: How to add a custom delete option for backgrid rows 不過,我似乎並沒有得到它的工作。這裏是我的嘗試: var DeleteCell = Backgrid.Cell.extend({
template: _.template('<button>Delete</butto
我有這樣 var EditorView = Backbone.View.extend({
//.....
});
var CellView = Backbone.View.extend({
editor: EditorView
initialize: function (optionValues,multiple) {
//....
this