Skip to main content

ASPxClientDataView.GetPageSize Method

Gets the size of a single ASPxDataView‘s page.

Declaration

GetPageSize(): number

Returns

Type Description
number

The page size.

Remarks

Depending on the chosen layout mode, the GetPageSize method returns the page size in different formats. For the Table layout, the return value corresponds to the server-side DataViewTableLayoutSettings.RowsPerPage property and means the number of rows displayed on one page. For the Flow layout, the return value is the number of items displayed on a single page. It corresponds to the server-side DataViewDivBasedLayoutSettings.ItemsPerPage property.

To specify a page size on the client side, use the ASPxClientDataView.SetPageSize method.

See Also