Wijmo UI for the Web
Search Patterns
Wijmo User Guide > Widgets > FileExplorer > Features > Search Patterns

In wijfileexplorer, by default, the file explorer displays all the files and folders. However, a user you can customize the type of files to be displayed by using the searchPatterns option.

For example, the following script sets the searchPatterns option to display images with only *.jpg,*.png format.

<script type="text/javascript">
       
    $(document).ready(function () {
        $("#fileexplorer").wijfileexplorer({
            actionUri: "fileexplorer.ashx",
            viewPaths: ["~/Example"],
            searchPatterns: "*.jpg,*.png",
            });
        });  

</script>
 
See Also

Reference