Blazor | ComponentOne
Controls / ListView / Data Binding
In This Topic
    Data Binding
    In This Topic

    In the ListView control, data binding can either be performed using C1DataCollection library or by simply binding the ListView to any enumerable list of object.

    Using List

    To bind an enumerable list to the ListView, you need to set the ItemsSource and type of the type parameter T for C1ListView component. For more information on how to bind the ListView control programmatically with an enumerable list, see Quick Start topic.

    Using C1DataCollection

    The ListView control relies on C1DataCollection to perform virtualization, on-demand loading and data operations, such as filtering, grouping, sorting, and paging. To use C1DataCollection with the ListView control for data binding and performing other operations, see virtualizationon-demand loading and data operations topics.