Definition
Namespace:Telerik.Web.UI.FileExplorer
Inheritance: Sys.ComponentTelerik.Web.UI.FileExplorer.FileList
Methods
Attach/detach the event handlers
attachEventHandlers(Boolean toAttach): void
Shortcut method for set_dataSource(data); dataBind().
bindToData(Array data): void
The array of elements to bind to
Bind the data to the underlying bindable control
bindToServerData(Object serverData, Number pageIndex): void
The data provided by the server callback or from cached location. Should follow the format of the Telerik.Web.UI.FileExplorer.ServerData
pageIndexNumberThe page
Chooses the view with the specified name. The view is displayed and the currently displayed one is hidden
chooseFileListView(String name): void
The name of the view to display.
Clears the filtering by reseting the filter and clearing the filter text box
clearFilter(): void
Clears the caching of the specified folder, forcing a reload the next time this folder's content is loaded
clearFolderCache(String path): void
The path to the folder
Clear any item selection in the file list
clearSelection(): void
Filter the file list on the client only. Note that only the items displayed items will be filtered, i.e. paged content will filter only the current page
clientFilter(String keyWord): void
Filter keyword
Bind the already provided data(use set_dataSource(data)) to the underlying bindable control
dataBind(): void
Filter the file list by the provided keyword. This method does not raise a filter event
doFiltering(String keyWord): void
Filter keyword
Filter the file list by the provided keyword. This method raises a filter event
filterList(String keyWord): void
Filter keyword
Find a file by its name
findFileByName(String fileName): Telerik.Web.UI.FileExplorer.FileDataItem
Name of a file
Returns:Telerik.Web.UI.FileExplorer.FileDataItem
Searched Item
Find a file by its path
findFileByPath(String path): Telerik.Web.UI.FileExplorer.FileDataItem
Path to a file
Returns:Telerik.Web.UI.FileExplorer.FileDataItem
Searched Item
Focus the underlying control's DOM element
focus(): void
Focus the paging control of the file list
focusPagerControl(): void
Get a reference to the context menu that is utilized by the file list
get_contextMenu(): Telerik.Web.UI.RadMenu
Telerik.Web.UI.RadMenu
Get a reference to the underlying file list view
get_control(): Telerik.Web.UI.FileExplorer.IFileListView
Telerik.Web.UI.FileExplorer.IFileListView
Get the data source provided to the control
get_dataSource(): Array
Array
The data object provided to the control
Gets the DOM element, where the file list resides.
get_element(): Element
Element
The DOM element of the underlying control
Get a reference to the RadFileExplorer that used this instance of FileList
get_fileExplorer(): Telerik.Web.UI.RadFileExplorer
Telerik.Web.UI.RadFileExplorer
Gets a reference to the filter text box DOM element that resides in the current file list view
get_filterTextBox(Telerik.Web.UI.FileExplorer.IFileListView view): Object
The view where to look for the filter text box. If the view is not provided
Returns:Object
The input element of the filter text box
Get a reference to the grid control that displays the list of files if such is being used to display the items
get_grid(): Telerik.Web.UI.RadGrid
Telerik.Web.UI.RadGrid
The RadGrid managing the file list
Get the items displayed in the file list.
get_items(): Array
Array
All items array
Get a reference to the list view control that displays the list of files if such is being used to display the items
get_listView(): Telerik.Web.UI.RadListView
Telerik.Web.UI.RadListView
The RadListView managing the file list
Get the page size as maximum number of items per page
get_pageSize(): Number
Number
The page size
Get the first selected item from the file list
get_selectedItem(): Telerik.Web.UI.FileExplorer.FileDataItem
Telerik.Web.UI.FileExplorer.FileDataItem
Selected item
Get the selected items from the file list
get_selectedItems(): Array
Array
Selected items array
Get a reference to the underlying file list view
get_view(): Telerik.Web.UI.FileExplorer.IFileListView
Telerik.Web.UI.FileExplorer.IFileListView
Get the selected files(Telerik.Web.UI.FileExplorerItem) from the file list
getSelectedFiles(): Array
Array
Selected files
Open the corresponding file item. If directory, the explorer navigates to it and displays its content
open(Telerik.Web.UI.FileExplorerItem item): void
The item to open. Can be either Telerik.Web.UI.FileExlorerItem
Force a server call to collect the content of the folder
refreshFileList(String folderPath): void
The path to the folder
Registers a view in the file list container. This is the way to make it available later as an chosen/active file list view
registerFileListView(Telerik.Web.UI.FileExplorer.IFileListView view): void
The view to be registered for use. Can be chosen later by name.
Try to select a default item from the file list. Usually this is the first item, or none if list is empty
selectDefaultFile(): void
Select an item from the file list
selectFile(Telerik.Web.UI.FileExplorer.FileDataItem file): void
The file could be either Telerik.Web.UI.FileDataItem
Select a file item from the file list by the provided name
selectFileByName(String fileName): void
The name of the file to select
Select a list of files by their names
selectFileList(Array fileNames): void
An array of file names to select
Force the server to do the filtering.
serverFilter(String keyWord): void
Filter keyword
Set the data needed for the data bindable control
set_dataSource(Array data): void
Sets the data for the underlying data bindable control
Set the height of the FileList. This will call set_height of all the FileListViews
set_height(String height): void
The height to be set.
Set the size of the page, i.e. the maximum number of items per page
set_pageSize(Number value): void
New page size
Show the content of a folder. This method takes advantage of a cached folder content, if the folder has already been loaded
showFolderFileList(String folderPath): void
The path to the folder
Show the content of a particular page
showPageContent(Number startIndex, Number pageSize): void
The index
pageSizeNumberA custom page size. Default behavior is to use the page size of the file list
Sort the file list
sort(String sortExpression): void
Sorting expression. E.g.