Reputation: 1
I want to upload a file using Extjs 4.1 file upload control. I have fileupload field in my form which will be hidden from users. but i have a image. if user double clicks to that image browse file dialog should be shown as in "Browse..." button of Fileupload control. Please help me...
Upvotes: 0
Views: 2211
Reputation: 15673
Do you mean exactly like in the Sencha examples? http://docs.sencha.com/ext-js/4-1/#!/example/form/file-upload.html
EDIT: Use buttonOnly:true config option to hide the fileinput field and leave only the upload button visible.
Upvotes: 1