New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI.FileExplorer

Inheritance: Telerik.Web.UI.FileExplorer.IFileListView

Events

Adds a contextMenu event handler for the ifilelistview

JS
add_contextMenu
Parameters:handlerFunction

The event handler function to attach

Adds a hideContextMenu event handler for the ifilelistview

JS
add_hideContextMenu
Parameters:handlerFunction

The event handler function to attach

Adds a itemDragging event handler for the ifilelistview

JS
add_itemDragging
Parameters:handlerFunction

The event handler function to attach

Adds a itemDragStart event handler for the ifilelistview

JS
add_itemDragStart
Parameters:handlerFunction

The event handler function to attach

Adds a itemDrop event handler for the ifilelistview

JS
add_itemDrop
Parameters:handlerFunction

The event handler function to attach

Adds a itemDropComplete event handler for the ifilelistview

JS
add_itemDropComplete
Parameters:handlerFunction

The event handler function to attach

Adds a itemSelect event handler for the ifilelistview

JS
add_itemSelect
Parameters:handlerFunction

The event handler function to attach

Adds a open event handler for the ifilelistview

JS
add_open
Parameters:handlerFunction

The event handler function to attach

Adds a page event handler for the ifilelistview

JS
add_page
Parameters:handlerFunction

The event handler function to attach

Adds a sort event handler for the ifilelistview

JS
add_sort
Parameters:handlerFunction

The event handler function to attach

Removes a contextMenu event handler from the ifilelistview

JS
remove_contextMenu
Parameters:handlerFunction

The event handler function to remove

Removes a hideContextMenu event handler from the ifilelistview

JS
remove_hideContextMenu
Parameters:handlerFunction

The event handler function to remove

Removes a itemDragging event handler from the ifilelistview

JS
remove_itemDragging
Parameters:handlerFunction

The event handler function to remove

Removes a itemDragStart event handler from the ifilelistview

JS
remove_itemDragStart
Parameters:handlerFunction

The event handler function to remove

Removes a itemDrop event handler from the ifilelistview

JS
remove_itemDrop
Parameters:handlerFunction

The event handler function to remove

Removes a itemDropComplete event handler from the ifilelistview

JS
remove_itemDropComplete
Parameters:handlerFunction

The event handler function to remove

Removes a itemSelect event handler from the ifilelistview

JS
remove_itemSelect
Parameters:handlerFunction

The event handler function to remove

Removes a open event handler from the ifilelistview

JS
remove_open
Parameters:handlerFunction

The event handler function to remove

Removes a page event handler from the ifilelistview

JS
remove_page
Parameters:handlerFunction

The event handler function to remove

Removes a sort event handler from the ifilelistview

JS
remove_sort
Parameters:handlerFunction

The event handler function to remove

Methods

Attach/detach the event handlers

JS
attachEventHandlers(Boolean toAttach): void
Parameters:toAttachBoolean

Bind the data to the underlying bindable control

JS
bindToServerData(Object serverData, Number pageIndex): void
Parameters:serverDataObject

The data provided by the server callback or from cached location. Should follow the format of the Telerik.Web.UI.FileExplorer.ServerData

pageIndexNumber

The page

Clear any item selection in the file list

JS
clearSelection(): void

Bind the already provided data(use set_dataSource(data)) to the underlying bindable control

JS
dataBind(): void

Filter the list by the provided keyword using the filtering capacities of the underlying control

JS
filter(String keyWord): void
Parameters:keyWordString

Filter keyword

Focus the paging control

JS
focusPagerControl(): void

Gets the DOM element that wraps the file list view. The container may be different from the element in more complex views

JS
get_container(): Object
Returns:

Object

Gets the DOM element that wraps the file list view

Get the data source provided to the control

JS
get_dataSource(): Array
Returns:

Array

The data object provided to the control

Gets the DOM element of the underlying control.

JS
get_element(): Element
Returns:

Element

The DOM element of the underlying control

gets the id of the underlying control

JS
get_id(): void

Get the items displayed in the file list.

JS
get_items(): Array
Returns:

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.

JS
get_itemsCount(): Number
Returns:

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

JS
get_name(): String
Returns:

String

the name of the corresponding view

Get the number of pages in the control

JS
get_pageCount(): Number
Returns:

Number

The number of pages

Get the page size as maximum number of items per page

JS
get_pageIndex(): Number
Returns:

Number

The page size

Get the page current page index

JS
get_pageSize(): Number
Returns:

Number

The page index

Get the selected items from the file list

JS
get_selectedItems(): Array
Returns:

Array

Selected items array

Get an item by its name if such exists

JS
getItemByName(String name): void
Parameters:nameString

Name of the item

Get an item by its path if such exists

JS
getItemByPath(String path): void
Parameters:pathString

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

JS
selectDefaultItem(): void

Selects an item by name

JS
selectItemByName(String name): void
Parameters:nameString

The name of the item to select

This method should provide the fastest possible implementation for finding and selecting items by name.

JS
selectItemsByName_Fast(Array items): void
Parameters:itemsArray

A list of item names that the control should select.

Set the data needed for the data bindable control

JS
set_dataSource(Array data): void
Parameters:dataArray

Sets the data for the underlying data bindable control

Set the height of the FileListView

JS
set_height(String height): void
Parameters:heightString

The height to be set.

Set the current page to display

JS
set_pageIndex(Number value, Boolean suppressPageEvent): void
Parameters:valueNumber

New page index

suppressPageEventBoolean

Suppress 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

JS
set_pageSize(Number value): void
Parameters:valueNumber

New page size

Not finding the help you need?
Contact Support