7 Nov 2011 6:16 PM #1
File linking in Grid
My grid panel gets its data from a table in Oracle. One of the columns in that table has blob data (file). I want to allow the user to click on a link from the grid that opens up the file. Similarly I want to let the user upload a file from the UI and save it to the database. Is there a way to handle the file upload/download using extjs. I am using version 3.4. Will greatly appreciate if you can explain with some examples. Thanks.
8 Nov 2011 7:28 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
To upload, use the FileUploadField found in the examples. There is no Ext JS class to download file, for that you will need a Google search.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.