# Listing

Abstract base element that captures the behavior common to lists and tables.

### Description

The listing element is an abstract base element that captures the commonality between the List and Table element. Both elements support a data set, filtering, sorting, methods, and so on.

See the List and Table items for the specific visual differences between the two items.

### See Also

Report Item for information on the data set, input parameter bindings, and so on.

## sort

The sort order for detail rows in the List.

### Description

Specifies the sorting of the rows within the detail band. This sorting is done within BIRT. If you want the database to do the sorting, specify the sort within the ORDER BY clause of your query.

### See Also

## filter

Filter criteria to apply to each row in the List.

### Description

The filter property specifies filter criteria to apply to each row in the data set. The filter can contain BIRT expressions (in JavaScript.) If you want the database to do the filtering, put the filter criteria in the WHERE clause of your query.

### See Also

## repeatHeader

Whether to repeat the headings at the top of each page.

### Description

This property specifies whether to repeat the headings at the top of each page. If true (the default), the headings repeat. If false, the header appears only on the first page.

### See Also

`header` slot