> Actualy, With FileBrowserSheet can i use a filter to select only *.xls files ?

You can do this by setting a disabled file filter on your file browser sheet:

    fileBrowserSheet.setDisabledFileFilter(new Filter<File>() {                 
   
        @Override
        public boolean include(File file) {
            return (file.isFile()
                && !file.getName().endsWith(".xls"));
        }
    });

By default, disabled files will still appear but will not be selectable. To 
hide them, you can set the "hideDisabledFiles" style:
    
    fileBrowserSheet.getStyles().put("hideDisabledFiles", true);

Note that, while these examples are written in Java, you can also do this in 
WTKX.

Hope this helps.

Greg

Reply via email to