Gets the total page count.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
integer this.count()

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
integer page.<id>.count()

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
Integer The page count.

Used in

Macro Description
Paging Paging macro. Holds state for paging through large datasets.
Can be used in combination with existing datatables to page through large datasets.
Use in combination with macros/vipers that return datatables.

Expand image Example

SXML