This is a migrated thread and some comments may be shown as answers.

Forcing operations to commit

0 Answers 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 20 Apr 2012, 06:11 PM
Okay, I am in a situation where I need every new entry in my grid to validate against all existing entries to determine whether or not it can be added. The problem is, saving with the grid always sends all adds and removes at once and in parallel, so their execution order is undefined. So it is possible for new entries to fail validation against old entries that are in the process of being removed.

My natural conclusion is that I need to just force an update after every operation (add, remove, etc). The problem is, that when I try to use the "save" and "remove" events, "this.saveChanges()" doesn't do anything. Is there a more correct way to obtain this behavior?

Thanks.

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Joshua
Top achievements
Rank 1
Share this question
or