ui-for-blazor-lp-pages-herobanner

Progress Telerik UI for Blazor

ListView

  • Blazor ListView Overview

    The ListView component allows you to display items from data source in a fully customizable, stylish templated list in both Blazor WebAssembly (WASM) and Server-side Blazor apps. The ListView provides out-of-the box paging, multiple templates (item, header, footer and edit templates) allowing you design the UI of component anyway it fits. Furthermore, the component exposes multiple events such as:  OnRead, OnUpdate, OnEdit, OnCreate, OnDelete, OnCancel, PageChanged and allows you to define custom data source operations.

    Overview example of Blazor ListView component.

    Telerik.Sitefinity.Libraries.Model.Image..AlternativeText
  • ListView Paging

    The ListView component has built-in paging which you can enable by setting the Pageable parameter to true, and defining the number of rendered items via the PageSize parameter to a particular number (defaults to 10).

    Telerik.Sitefinity.Libraries.Model.Image..AlternativeText
  • ListView Templates

    You can fully customize the Telerik UI for Blazor ListView appearance through the various templates it offers:

    • Template – defines how all ListView items are displayed (mandatory)
    • Edit Template - the rendering of a ListView item in edit or insert mode
    • Header Template - the content rendered above the list of items
    • Footer Template - the content rendered after the list of items and before the pager

    Example of Blazor ListView customization with templates

    Telerik.Sitefinity.Libraries.Model.Image..AlternativeText
  • ListView Custom Paging and Load Data on Demand

    The ListView component allows you to fetch all the data at once, or load data on demand. For cases when you need to load large volumes of data, you can boost the performance by using custom paging and loading only fixed subset of items while the user browses through the ListView pages.

    Example of ListView custom paging and loading data on demand.

    Telerik.Sitefinity.Libraries.Model.Image..AlternativeText
  • ListView Editing

    The ListView component can easily handle create, update and delete (CUD) operations in your Blazor apps thought its EditTemplate and using CommandButtons. The ListViewCommandButton component provides the following built-in Command values: Add, Edit, Save, Delete, Cancel.

    Example of Blazor ListView editing of items.

    Telerik.Sitefinity.Libraries.Model.Image..AlternativeText
  • ListView Events

    The ListView component exposes multiple events to let you handle data in Blazor apps. Below is a summary of the available events and their triggers: 

    • OnRead – fires when data needs to be fetched
    • OnUpdate - fires when an existing item is saved
    • OnEdit - fires when the user clicks the Edit command
    • OnCreate - fires when a new item is saved
    • OnDelete - fires when an item is deleted
    • OnCancel - fires when the Cancel button is clicked
    • PageChanged - fires when the user pages though the ListView
    Telerik.Sitefinity.Libraries.Model.Image..AlternativeText
  • ListView Custom Data Source Operations

    The ListView component provides options for implementing your custom data source operations. Just add a button (or other UI component) and invoke the corresponding action – whether it is calculation, loading data on demand or any other update to the data source.

    Examples for Blazor ListView filtering and sorting.

    Telerik.Sitefinity.Libraries.Model.Image..AlternativeText
  • ListView Theming

    The Telerik Blazor ListView has several built-in themes such as Default (our own styling), Material (based on the Material Design guidelines) and Bootstrap (which looks like the Bootstrap styling to integrate better). You can easily customize any of out-of-the-box themes with a few lines of CSS, or create new theme to match your colors and branding by using the Telerik SASS ThemeBuilder application.

    Telerik.Sitefinity.Libraries.Model.Image..AlternativeText

Next Steps

Launch demos

See Telerik UI for Blazor in action and check out how much it can do out-of-the-box.

Download free trial

Try Telerik UI for Blazor with dedicated technical support.