File Search Dialog

Top  Previous  Next

The File Search dialog is opened using the search button on the toolbar and is used to enter search criteria to find files under the currently selected folder.A column will appear in the search dialog if the column search property is set to true. The dialog can be referenced in client-script via the searchDialog property.

 

Options

Include sub-folders

If checked searches all sub-folders

Search files only

If checked will apply search criteria against files only and not folders

Applies the search criteria

Cancels the dialog

Properties

closeOnApply (bool)

When set to true the dialog will automatically close when the search is applied.

	<script>
	jQuery(document).ready( init )

	function init()
	{
		var dbnetfile1 = new DbNetFile("dbnetfile1");
		with (dbnetfile1)
		{
			rootFolder="~/samples/dbnetfile/files"

			setColumnTypes("Icon","Name","Folder","DateCreated","Size","DateLastModified","DateLastAccessed","Thumbnail");
			setColumnLabels("Icon","Name","Folder","Created","Size","Last Modified","Last Accessed","Thumbnail");

			searchDialog.closeOnApply = true

			initialize()
		}
	}
	</script>