Gets 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.gettotalcount()

Extension Viper Syntax

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

Parameters

This Viper method does not expose any parameters.

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 Remarks

Expand image Example

SXML