The Angular ListView component is a list-like interface that allows you to select an item or multiple items. It represents data in an interactive hierarchical structure across different layouts or views.
Powerful data binding allows data to be loaded from an array of primitive data, JSON data collections, or remote data sources. It supports complex data with field mapping; different kinds of data services such as OData, OData V4, and Web API; and data formats such as XML, JSON, JSONP, CSV, and HTML tables.
The Angular ListView supports UI virtualization to improve performance while loading huge amounts of data. This creates a fixed number of items irrespective of data volume and displays the relevant data instead of creating items.
Sort data programmatically in ascending or descending order. Also use custom sorting logic.
Group ListView data programmatically. You can identify a group name from group headers in the view. Also use custom sorting logic.
The Angular ListView represents a nested data object structure in a list of lists. The initial screen displays the first-level list items and next level will be displayed when interacting with it.
When a user clicks or taps an item, ListView enables the selection of the list item by default.
The Angular ListView component supports multiple selection through check boxes on the right or left of the list items. This helps users select or clear a series of items without using the keyboard.
Users can disable the ListView selection by handling events. Preserve and restore the selected values in the ListView to help users continue their work from a previously saved state.
Arrange the list item content with multiline text, icons, and avatars.
Completely customize the ListView header, list item, and group header using template options. This helps users arrange their content in flexible formats like image view, multiline text view, and mixed mode.
The ListView component responds to screen sizes and adapts its contents to fit any device. It also recognizes touch gestures, enabling items to be selected or cleared when a tap or double-tap action is performed. This provides the best user experience for phones, tablets, and desktops.
With continuous improvement in Angular versions, the Angular ListView is kept up to date to make it compatible with versions starting from 4 to the latest version.
ListView is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different ListView platforms from the links below,
In the ListView component, you have control over all the UI elements and behaviors. This provides the best experience to users through a rich set of developer-friendly APIs.
Easily get started with the Angular ListView using a few simple lines of TS code example as demonstrated below. Also explore our Angular ListView Component Example that shows you how to render and configure a ListView in Angular.
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-container',
// specifies the template string for the Listview component
template: `<ejs-listview id='sample-list' [dataSource]='data'></ejs-listview>`
})
export class AppComponent {
public data: Object = [
{ text: 'Artwork', id: '01' },
{ text: 'Abstract', id: '02' },
{ text: 'Modern Painting', id: '03' },
{ text: 'Ceramics', id: '04' },
{ text: 'Animation Art', id: '05' },
{ text: 'Oil Painting', id: '06' }];
}
You can find our Angular ListView demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.