Gets a link to the given paging position.

This viper method also supports the extension viper syntax.

Syntax

Smartsite SXML CopyCode image Copy Code
string this.goto(enum position)
string this.goto(enum position, string data)
string this.goto(integer pageNumber)
string this.goto(integer pageNumber, string data)

Extension Viper Syntax

Smartsite SXML CopyCode image Copy Code
string page.<id>.goto(enum position)
string page.<id>.goto(enum position, string data)
string page.<id>.goto(integer pageNumber)
string page.<id>.goto(integer pageNumber, string data)

Parameters

Name Data Type Description
position Enum The position.
Enum values:
  • First
    First page.
  • Previous
    Previous page.
  • Next
    Next page.
  • Last
    Last page.
data String The data.
pageNumber Integer The page number.

Return Value

Data Type Description
String Hyperlink String

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 Examples

SXML