Right - but just to clarify, a saveData() call is always asynchronous even with a clientOnly DataSource. So you'll want to saveData(), wait for the callback, and then call collapseRecord() (assuming success - you don't want to proceed with the collapse if there are, eg, validation errors).
Did you say you already tried that? Can you show the code for that attempt?
You also mentioned the grid being "frozen" - how so? Is your code in the callback for saveData() executing? If so, is the grid frozen before or after you attempt to call collapseRecord() from the callback?
Did you say you already tried that? Can you show the code for that attempt?
You also mentioned the grid being "frozen" - how so? Is your code in the callback for saveData() executing? If so, is the grid frozen before or after you attempt to call collapseRecord() from the callback?
Comment