Gets the current row offset for this page.

This viper method also supports the extension viper syntax.

Syntax

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

Extension Viper Syntax

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

Parameters

This Viper method does not expose any parameters.

Return Value

Data Type Description
Integer The offset.

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