View Full Version : File upload using filebutton xtype

22 Oct 2013, 10:09 PM
I have a model which has a file field. The data type for the file has been set to auto in the model.
Is it possible to store the file in a store attached to the model, after each upload of file(before the file is sent to the server)?
The files needs to be sent to the sever only on store sync.
We are using filebutton for browsing the file. On click of filebutton, after browsing the file, a popup form window with file details is shown. On click of save, the file along with other data related to the file needs to be stored in store. Most of the things we have found are on form.submit().

24 Oct 2013, 12:35 PM
See if this info helps: