Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _contentTemplates/common/dropdowns-virtualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ the component will call this method to request the model that matches the `Value


#limitations
* When the initially selected item/items are on a page different than the first one, opening the dropdown list will NOT scroll the list to the selected item.
* When virtualization is enabled, the component calculates the position of the items. In this case, the loading indicators are not displayed as they would affect the proper item positioning.
* When the initially selected item is not on the first page, the dropdown does not scroll to it on first opening.
* The component calculates the position of the dropdown items during virtual scrolling. In this case, the loading indicators (skeletons) do not display as they would affect the proper item positioning.
#end

#remote-data-sample-intro
Expand Down
11 changes: 2 additions & 9 deletions components/dropdownlist/virtualization.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,24 @@ The DropDownList @[template](/_contentTemplates/common/dropdowns-virtualization.
* [Local Data Example](#local-data-example)
* [Remote Data Example](#remote-data-example)


>caption Display, scroll and filter over 10k records in the DropDownList without delays and performance issues.

![Virtual Scrolling of large local data](images/dropdownlist-virtual-scrolling-local.gif)


## Basics

@[template](/_contentTemplates/common/dropdowns-virtualization.md#basics-core)


* `ValueMapper` - `Func<TValue, Task<TItem>>` - @[template](/_contentTemplates/common/dropdowns-virtualization.md#value-mapper-text)

@[template](/_contentTemplates/common/dropdowns-virtualization.md#remote-data-specifics)

### Limitations

* When the initially selected item is not on the first page, the dropdown will *not* scroll the list to the selected item when opening.
@[template](/_contentTemplates/common/dropdowns-virtualization.md#limitations)

## Local Data Example


````RAZOR
@SelectedValue
<br />
Expand Down Expand Up @@ -77,8 +73,6 @@ The DropDownList @[template](/_contentTemplates/common/dropdowns-virtualization.
}
````



## Remote Data Example

@[template](/_contentTemplates/common/dropdowns-virtualization.md#remote-data-sample-intro)
Expand Down Expand Up @@ -173,8 +167,7 @@ Run this and see how you can display, scroll and filter over 10k records in the
}
````


## See Also

* [Live Demo: DropDownList Virtualization](https://demos.telerik.com/blazor-ui/dropdownlist/virtualization)
* [Blazor DropDownList](slug:components/dropdownlist/overview)
* [Blazor DropDownList](slug:components/dropdownlist/overview)