Compartilhar via


RowLimit Element (List)

Applies to: SharePoint Foundation 2010

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

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

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

View, ViewStyle

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 will be displayed, and a Next button will provide 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

Other Resources

List Views