Greetings,
Suppose we have the following code:
If I call b.saveChanges(v), the event is fired and the alert will be shown, but if I call b.
I looked at the code of the two methods and it appears that the grid component was designed so.
I'm in need to this functionality because I want to do a manipulation to the grid before saving.
Suppose we have the following code:
var g=$find("some grid id")var b=g.get_batchEditingManager()var v=g.MasterTableViewg.add_command(function (sender, args) { if(args.get_commandName() == "BatchEdit" && args.get_tableView() == v) alert("save"); });If I call b.saveChanges(v), the event is fired and the alert will be shown, but if I call b.
saveAllChangessaveAllChanges(), the event is not fired. Why this happens?
I looked at the code of the two methods and it appears that the grid component was designed so.
I'm in need to this functionality because I want to do a manipulation to the grid before saving.