RowLimit element (List)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

Sets the row limit for the number of items to display in a view.

<RowLimit
  Paged = "TRUE" | "FALSE">
</RowLimit>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
Paged
Optional Boolean. TRUE to specify that the list supports displaying more items page by page. If FALSE or unspecified, the row limit is absolute, and there is no link to see more items.

Child elements

None

Parent elements

Occurrences

  • Minimum: 0
  • Maximum: 1

Remarks

When Paged is set to TRUE, a PagedRowset element must be implemented. Otherwise, the server provides a generic implementation of a paged rowset that is defined in the STDVIEW.XML file.

If Paged is not TRUE and the row limit is exceeded, the server renders a RowLimitExceeded element in the view if this element is specified. Otherwise, the default behavior is to give no indication to the user that the row limit has been exceeded.

If Paged is TRUE, the number of items per page is displayed, and a Next button provides a link to the next set of items.

Example

The following line sets 100 as the row limit and specifies that a link be provided to see items that exceed the limit.

<RowLimit Paged="TRUE">100</RowLimit>

See also