jinjianhe
16 Jan 2012, 5:24 PM
extjs4 grid crud using writer, how to save data from multi stores at one request? can u give an example? thx. in the extjs3, there is an solution which is probably to write a beforewrite event handler for both stores that saves the passed data and returns false, so it doesn't actually make a request.
Next, you would call save() on both stores and make your own request using the data from both beforwrite handlers.
however in the extjs4 there does not have the beforewrite event.
Next, you would call save() on both stores and make your own request using the data from both beforwrite handlers.
however in the extjs4 there does not have the beforewrite event.