Sets the total count. Use only when no input data is available.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
integer this.settotalcount(integer value)

Extension Viper Syntax

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

Parameters

Name Data Type Description
value Integer The total count of the data to page.

Return Value

Data Type Description
Integer The total count of the data to page.

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