List Views

Configuring the list view of a collection in Umbraco UI Builder.

A list view displays a collection entity in a list format and includes features like pagination, custom data views, searching, and bulk actions.

A collection list view

Configuring a List View

The list view configuration is a sub-configuration of a Collection config builder instance and can be accessed via the ListView method.

Using the ListView() Method

Accesses the list view configuration for the specified collection.

Method Syntax

Example

Adding a Field to the List View

Using the AddField() Method

Adds a specified property to the list view.

Method Syntax

Example

Changing the Heading of a Field

Using the SetHeading() Method

Sets the heading for a field in the list view.

Method Syntax

Example

Formatting the Value of a Field

Using the SetFormat() Method

Sets the format expression to the field in the list view.

Method Syntax

Example

Setting the View of a Field

You can customize the field's markup with field views, allowing richer visualizations of the content. For more details, see the Field Views article.

Using the SetView() Method

Sets the view component for the list view field.

Method Syntax

Example

Using the SetView<TView>() Method

Sets the view component for the list view field.

Method Syntax

Example

Setting the Visibility of a Field

Using the SetVisibility() Method

Controls the runtime visibility of a field in the list view.

Method Syntax

Example

Changing the Page Size

Using the SetPageSize Method

Sets the number of items per page for the list view.

Method Syntax

Example

Last updated

Was this helpful?