when using this code, the event is raised after a cell update, but I don't know what were the values just before the update, info.getCellValue("foo") and info.getChangedFieldValue("foo") are the same
var grid = new StaticGrid("stocks",true);
grid.setAutoCleanBehavior(true,false);
grid.addListener({
onVisualUpdate: function(key,info,pos) {
if (info == null) {
//cleaning
return;
}
console.log(info.getCellValue("foo")+" ... "+info.getChangedFieldValue("foo"));
info.setAttribute("yellow", "white", "backgroundColor");
}
});
---- solved