Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Want to use filter for file open window

$
0
0
In our application we are using a DataSource to populate a browse button for selecting a file to open. If we click on that browse button it will open a file open window to select the desire file. Now I want to apply a filter for file extension in that window. Please suggest the solution. I need to filter out two to three type of file e.g. “.Zip”,”. Jpeg” etc.

At present that file open window actually applies the default filter which will show the entire available file in the present directory.
The DataSource field is given below:

<field name="Uploadfile" required="false" type="binary" title="Upload File" />

We are using GWT 2.3.0(using gwt-servelet.jar,gwt-dev.jar), Smart GWT 4.0 (smartgwt.jar, smartgwtpro.jar),Internet explorer 11/IE8/IE9.

Viewing all articles
Browse latest Browse all 4756

Trending Articles