i have developed editable grid using backgrid and it looks good also. following is my output :
when i select the check box and click on delete
icon, then
You can make a custom cell.
var DeleteCell = Backgrid.Cell.extend({
template: _.template(" PUT YOUR HTML BUTTON TEMPLATE HERE "),
events: {
"click": "deleteRow"
},
deleteRow: function (e) {
e.preventDefault();
this.model.collection.remove(this.model);
},
render: function () {
this.$el.html(this.template());
this.delegateEvents();
return this;
}
});