Definition
Namespace:Telerik.Web.UI
Inheritance: Telerik.Web.UI.RadWebControlTelerik.Web.UI.RadListView
Events
Adds a Command event handler for the radlistview
add_Command
The event handler function to attach
Adds a DataBinding event handler for the radlistview
add_DataBinding
The event handler function to attach
Adds a DataBindingFailed event handler for the radlistview
add_DataBindingFailed
The event handler function to attach
Adds a DataBound event handler for the radlistview
add_DataBound
The event handler function to attach
Adds a DataSourceResolved event handler for the radlistview
add_DataSourceResolved
The event handler function to attach
Adds a ItemDeselected event handler for the radlistview
add_ItemDeselected
The event handler function to attach
Adds a ItemDeselecting event handler for the radlistview
add_ItemDeselecting
The event handler function to attach
Adds a ItemDragging event handler for the radlistview
add_ItemDragging
The event handler function to attach
Adds a ItemDragStarted event handler for the radlistview
add_ItemDragStarted
The event handler function to attach
Adds a ItemDropped event handler for the radlistview
add_ItemDropped
The event handler function to attach
Adds a ItemDropping event handler for the radlistview
add_ItemDropping
The event handler function to attach
Adds a ItemSelected event handler for the radlistview
add_ItemSelected
The event handler function to attach
Adds a ItemSelecting event handler for the radlistview
add_ItemSelecting
The event handler function to attach
Adds a ListViewCreated event handler for the radlistview
add_ListViewCreated
The event handler function to attach
Adds a ListViewCreating event handler for the radlistview
add_ListViewCreating
The event handler function to attach
Adds a ListViewDestroying event handler for the radlistview
add_ListViewDestroying
The event handler function to attach
Adds a TemplateCreated event handler for the radlistview
add_TemplateCreated
The event handler function to attach
Adds a TemplateDataBound event handler for the radlistview
add_TemplateDataBound
The event handler function to attach
Removes a Command event handler from the radlistview
remove_Command
The event handler function to remove
Removes a DataBinding event handler from the radlistview
remove_DataBinding
The event handler function to remove
Removes a DataBindingFailed event handler from the radlistview
remove_DataBindingFailed
The event handler function to remove
Removes a DataBound event handler from the radlistview
remove_DataBound
The event handler function to remove
Removes a DataSourceResolved event handler from the radlistview
remove_DataSourceResolved
The event handler function to remove
Removes a ItemDeselected event handler from the radlistview
remove_ItemDeselected
The event handler function to remove
Removes a ItemDeselecting event handler from the radlistview
remove_ItemDeselecting
The event handler function to remove
Removes a ItemDragging event handler from the radlistview
remove_ItemDragging
The event handler function to remove
Removes a ItemDragStarted event handler from the radlistview
remove_ItemDragStarted
The event handler function to remove
Removes a ItemDropped event handler from the radlistview
remove_ItemDropped
The event handler function to remove
Removes a ItemDropping event handler from the radlistview
remove_ItemDropping
The event handler function to remove
Removes a ItemSelected event handler from the radlistview
remove_ItemSelected
The event handler function to remove
Removes a ItemSelecting event handler from the radlistview
remove_ItemSelecting
The event handler function to remove
Removes a ListViewCreated event handler from the radlistview
remove_ListViewCreated
The event handler function to remove
Removes a ListViewCreating event handler from the radlistview
remove_ListViewCreating
The event handler function to remove
Removes a ListViewDestroying event handler from the radlistview
remove_ListViewDestroying
The event handler function to remove
Removes a TemplateCreated event handler from the radlistview
remove_TemplateCreated
The event handler function to remove
Removes a TemplateDataBound event handler from the radlistview
remove_TemplateDataBound
The event handler function to remove
Methods
Appends additional data to the current data source and creates new items for the new data. Existing items are not modified.
appendData(Array data): void
A javascript array of objects to append
Cancels insert operation and hides RadListView's insertion form
cancelInsert(): void
Cancels RadListView item update (with index specified as an argument)
cancelUpdate(Number itemIndex): void
Index of the edited item for which update operation will be aborted
Clears the cached data when caching is enabled with client-side databinding in RadListView
clearCache(Boolean forCurrentState): void
Optional
Clears the filter expressions for the specified field. If no field is specified, clears all filter expression in RadListView
clearFilter(String field, Boolean doNotFireCommand): void
Optional
doNotFireCommandBooleanOptional
Clears all selected items in RadListView
clearSelectedItems(Boolean doNotRebind): void
Optional
Clears the sorting of the specified field or all the sort expressions if no field is specified.
clearSort(String field, Boolean doNotFireCommand): void
Optional
doNotFireCommandBooleanOptional
Databinds the listview when the client-side data source is set
dataBind(): void
Deletes RadListView item with index specified as an argument
deleteItem(Number itemIndex): void
Index of the item that will be deleted
Deselects an item in RadListViews
deselectItem(Number index, Boolean doNotRebind): void
An integer index of the item to deselect.
doNotRebindBooleanOptional
Switches RadListView item into edit mode (with index specified as an argument)
editItem(Number itemIndex): void
Index of the item that will be edited
Applies a filter to the data in RadListView
filter(String field, String filterFunction, String value, Boolean doNotFireCommand): void
The field name to filter.
filterFunctionStringThe filter function to use. Accepted values are specified by the Telerik.Web.UI.RadListViewFilterFunction object.
valueStringThe filter value to use for the specified field.
doNotFireCommandBooleanOptional
Fires command with command name and command argument specified as arguments
fireCommand(String commandName, String commandArgument): void
The name of the command that will be executed. Possible values are listed here
commandArgumentStringThe command argument with which the command will be executed. Possible values are listed here
Gets a value indicating whether multi-item selection is enabled in RadListView
get_allowMultiItemSelection(): Boolean
Boolean
Gets a value indicating whether natural sort is enabled in RadListView
get_allowNaturalSort(): Boolean
Boolean
Specifies whether paging is enabled in RadListView
get_allowPaging(): Boolean
Boolean
Gets a two-dimensional array of client key values. Item indices and names stored in the ClientDataKeyNames collection on the server can be used as array indices. Example: get_clientDataKeyValue()[0]["CustomerID"] - returns the CustomerID clinet key value for the first RadListView item.
get_clientDataKeyValue(): Array
Array
Gets the current client settings applied for RadListView
get_clientSettings(): Object
Object
Gets the current page index in case paging for RadListView is enabled
get_currentPageIndex(): Number
Number
Gets the data source javascript array of RadListView
get_dataSource(): Array
Array
Retrieves the filter expressions collection in RadListView
get_filterExpressions(): Telerik.Web.UI.RadListViewFilterExpressions
Telerik.Web.UI.RadListViewFilterExpressions
Indicates whether RadListView is currently databinding on the client-side
get_isDataBinding(): Boolean
Boolean
Indicates whether RadListView is setup for client-side databinding
get_isDataBoundOnClient(): Boolean
Boolean
Indicates whether RadListView is initialized entirely on the client-side with no server-side control
get_isInitializedOnClient(): Boolean
Boolean
Gets a value indicating whether the insert form is currently shown
get_isItemInserted(): Boolean
Boolean
Gets the page count in RadListView
get_pageCount(): Number
Number
Gets the page size in RadListView
get_pageSize(): Number
Number
Gets the selected indexes array in RadListView. The array should contain the numeric indexes of selected items.
get_selectedIndexes(): Array
Array
Gets the skin set to the RadListView's control
get_skin(): String
String
Gets the skin applied in RadListView
Retrieves the sort expressions collection in RadListView
get_sortExpressions(): Telerik.Web.UI.RadListViewSortExpressions
Telerik.Web.UI.RadListViewSortExpressions
Gets the unique id of RadListView's container
get_uniqueID(): String
String
Gets the total number of items RadListView can bind to. This value is used for page calculations.
get_virtualItemCount(): Number
Number
Inserts a new item in RadListView with values taken from its insertion form
insertItem(): void
Navigates RadListView to the page specified as an argument. If server-side databinding is used, RadDataPager should be used for page navigation
page(String command, Boolean doNotFireCommand): void
The actual page to which the user will be navigated. Possible values are
doNotFireCommandBooleanOptional
Rebinds RadListView to its given data source
rebind(): void
Rebinds a single item specified by its index
rebindItem(Number index): void
The index of the item to rebind
Selects all items in RadListView
selectAllItems(Boolean doNotRebind): void
Optional
Selects an item in RadListView
selectItem(Number index, Boolean doNotRebind): void
An integer index of the item to select.
doNotRebindBooleanOptional
Sets a value indicating whether paging is allowed in RadListView
set_allowPaging(Boolean value): void
A boolean value indicating whether paging is enabled
Sets the current page index in RadListView
set_currentPageIndex(Number value): void
An integer value greater than or equal to 0
Sets the data source of RadListView
set_dataSource(Array value): void
A javascript array of objects
Sets the page size in RadListView
set_pageSize(Number value): void
An integer value greater than 0
Sets the array containing the selected indexes
set_selectedIndexes(Array value): void
A javascript array of integer values representing the selected indexes in RadListView
Sets the virtual item count in RadListView
set_virtualItemCount(Number value): void
An integer value greater than or equal to 0
Displays RadListView's insertion form
showInsertItem(Number insertItemPosition): void
Optional
Sorts the data in RadListView
sort(String field, String order, Boolean doNotFireCommand): void
The field name to sort by. If no sort order is specified
orderStringOptional
doNotFireCommandBooleanOptional
Toggles between the selected and deselected state of an item in RadListViews
toggleSelection(Number index, Boolean doNotRebind): void
An integer index of the item to toggle.
doNotRebindBooleanOptional
Updates RadListView item (with index specified as an argument)
updateItem(Number itemIndex): void
Index of the edited item that will be updated