Open naris opened 8 years ago
I have finally managed to hook OnSave with this: grid.connect(grid.model._exts.modify, 'onSave', onSaveFunc); However, that is very unintuitive and seems really wrong.
@naris You could execute your callback like this: grid1.model.save().then(onSaveFunc);
I am unable to hook the OnSave event. I have tried: grid.connect(grid, 'onSave', onSaveFunc); grid.connect(grid.model, 'onSave', onSaveFunc); grid.connect(grid.edit, 'onSave', onSaveFunc); and a lot of other things, even using grid.on, and aspect yet nothing will execute for onSave().
I have stepped through the gridx code and the Modifly.OnSave() method does indeed get executed.