View Full Version : Ext js 4: How to sripe path from the filefield inorder to retrieve filename ?
23 Nov 2011, 1:41 AM
Ext js 4: How to sripe path from the filefield inorder to retrieve filename ?
Thanks in advance :)
23 Nov 2011, 7:03 AM
All you have to do is execute getValue on the field instance to get the value that is displayed. If you just want the filename and not the entire path then just split that string by '\' and get the last item.
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.