I found totally nothing about this question in all of the forums (also google) so I will try it here. Is it possible in Backgrid to highlight cells with pending edits? I found something for highlighting rows, which are pending but this doesn't seems to work in newer versions of Backgrid. Would be nice if somebody could help me in this case.
Minimal example:
var model = Backbone.Model.extend({});
var collections = Backbone.Collection.extend({
model: model,
url: "rest/getFilter"
});
var collection = new collections();
var columns = [{
name:'filterId', label:'ID', cell:'integer', editable:true
},
{
name:'statement', label:'Statement', cell: 'string', editable:true
}];
var grid = new Backgrid.Grid({
columns: columns,
collection: collection
});
$("#processor_filter").append(grid.render().el);
collection.fetch();