Page Navigation Using URL
If a Data Table has been paginated, there are scenarios in which you might want to navigate to a specific table page. For example, suppose your Data Table has drill-down links in it and you'd like to return to the same Data Table page after drilling-down to a detail report. Yes, the "Back" button on your browser will accomplish the same thing, but there may be circumstances in which you don't want to rely on it.
When you navigate away from the paginated Data Table, a special Request variable is included in the URL that calls the next report. You can use that variable in the link used to return to the Data Table report to ensure you return to the same Data Table page.
To do this, include these two Link Parameters in the return link:
Parameter Name | Parameter Value |
---|---|
<myTableID>-PageNr | @Request.<myTableID>-PageNr~ |
rdNewPageNr | True |
where <myTableID> is the element ID of the paginated Data Table.
Logi Info developers may want to run a process task and then return to the same Data Table page. This can be done by passing @Request.<myTableID>-PageNr~ to the task and then assigning its value to a Link Parameter named rdNewPageNr when calling the Data Table report.