Search.../

getPageSize( )

Gets the dataset's page size.

Description

Gets the current page size set in the Editor or using the setPageSize function.

Syntax

function getPageSize(): number

getPageSize Parameters

This function does not take any parameters.

Returns

The page size.

Return Type:

number
Mixed in from:wix-dataset.Dataset

Related Content:

Was this helpful?

Get the current page size

Copy Code
1let pageSize = $w("#myDataset").getPageSize(); // 6