Definition
Namespace:Telerik.Web.UI.FileExplorer
Inheritance: Telerik.Web.UI.FileExplorer.IFileListView
Events
Adds a contextMenu event handler for the ifilelistview
add_contextMenu
The event handler function to attach
Adds a hideContextMenu event handler for the ifilelistview
add_hideContextMenu
The event handler function to attach
Adds a itemDragging event handler for the ifilelistview
add_itemDragging
The event handler function to attach
Adds a itemDragStart event handler for the ifilelistview
add_itemDragStart
The event handler function to attach
Adds a itemDrop event handler for the ifilelistview
add_itemDrop
The event handler function to attach
Adds a itemDropComplete event handler for the ifilelistview
add_itemDropComplete
The event handler function to attach
Adds a itemSelect event handler for the ifilelistview
add_itemSelect
The event handler function to attach
Adds a open event handler for the ifilelistview
add_open
The event handler function to attach
Adds a page event handler for the ifilelistview
add_page
The event handler function to attach
Adds a sort event handler for the ifilelistview
add_sort
The event handler function to attach
Removes a contextMenu event handler from the ifilelistview
remove_contextMenu
The event handler function to remove
Removes a hideContextMenu event handler from the ifilelistview
remove_hideContextMenu
The event handler function to remove
Removes a itemDragging event handler from the ifilelistview
remove_itemDragging
The event handler function to remove
Removes a itemDragStart event handler from the ifilelistview
remove_itemDragStart
The event handler function to remove
Removes a itemDrop event handler from the ifilelistview
remove_itemDrop
The event handler function to remove
Removes a itemDropComplete event handler from the ifilelistview
remove_itemDropComplete
The event handler function to remove
Removes a itemSelect event handler from the ifilelistview
remove_itemSelect
The event handler function to remove
Removes a open event handler from the ifilelistview
remove_open
The event handler function to remove
Removes a page event handler from the ifilelistview
remove_page
The event handler function to remove
Removes a sort event handler from the ifilelistview
remove_sort
The event handler function to remove
Methods
Attach/detach the event handlers
attachEventHandlers(Boolean toAttach): void
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
Clear any item selection in the file list
clearSelection(): void
Bind the already provided data(use set_dataSource(data)) to the underlying bindable control
dataBind(): void
Filter the list by the provided keyword using the filtering capacities of the underlying control
filter(String keyWord): void
Filter keyword
Focus the paging control
focusPagerControl(): void
Gets the DOM element that wraps the file list view. The container may be different from the element in more complex views
get_container(): Object
Object
Gets the DOM element that wraps the file list view
Get the data source provided to the control
get_dataSource(): Array
Array
The data object provided to the control
Gets the DOM element of the underlying control.
get_element(): Element
Element
The DOM element of the underlying control
gets the id of the underlying control
get_id(): void
Get the items displayed in the file list.
get_items(): Array
Array
All items array
Get the number of items in the file explorer view. This number may differ from the displayed items count when paging is allowed.
get_itemsCount(): Number
Number
The number of items
Gets the name of the corresponding view. The name should be unique in a collection of views as this is the identification field
get_name(): String
String
the name of the corresponding view
Get the number of pages in the control
get_pageCount(): Number
Number
The number of pages
Get the page size as maximum number of items per page
get_pageIndex(): Number
Number
The page size
Get the page current page index
get_pageSize(): Number
Number
The page index
Get the selected items from the file list
get_selectedItems(): Array
Array
Selected items array
Get an item by its name if such exists
getItemByName(String name): void
Name of the item
Get an item by its path if such exists
getItemByPath(String path): void
File path to the item
Try to select a default item from the file list. Usually this is the first item, or none if list is empty
selectDefaultItem(): void
Selects an item by name
selectItemByName(String name): void
The name of the item to select
This method should provide the fastest possible implementation for finding and selecting items by name.
selectItemsByName_Fast(Array items): void
A list of item names that the control should select.
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 FileListView
set_height(String height): void
The height to be set.
Set the current page to display
set_pageIndex(Number value, Boolean suppressPageEvent): void
New page index
suppressPageEventBooleanSuppress the page event in order to escape irrelevant callbacks or page event handling
Set the size of the page, i.e. the maximum number of items per page
set_pageSize(Number value): void
New page size