Events let you add interactive and animated effects to the pages and page elements of
your website. When using data repeaters and data tables, you can add pagination events so
users can easily page through the displayed data. Pagination events are particularly useful
when working with large amounts of data.
Required Editions
Available in: Salesforce Classic
Available for purchase in: Enterprise, Performance,
and Unlimited Editions
Available (with limitations) in:
Developer Edition
User
Permissions Needed
To build, edit, and manage Site.com sites:
Site.com Publisher User field enabled on the
user detail page
AND
Site administrator or designer role
assigned at the site level
For example, if you've added a data repeater that displays all the users in an
organization, you can add pagination to help users navigate through the data. You
can add three pagination events:
Previous Page
Next Page
Go To Page
Create Previous and Next Pagination:
You can create previous and next buttons so users can move through the data one page
at a time. The process for creating both buttons is the same.
Create your data repeater or data table.
In the data repeater or data table, be sure to specify how many records to
display per page in the Limits section.
Drag a button to the page.
In the Properties pane, change the Button Name to Previous Page or Next Page as
appropriate.
In the Events pane, select the click event.
When the Actions box appears, click and select the Previous Page or
Next Page action.
In the Target Element, select the data repeater or data table.
Click Save.
Create GoTo Pagination:
Creating GoTo navigation is similar to creating the previous and next buttons, but
you must add an input field so users can specify what page they what to go to.
Create your data repeater or data table.
In the data repeater or data table, be sure to specify how many records to
display per page in the Limits section.
Drag a Number field onto the page.
In the Properties pane, change the field's Label Name to something that makes
sense. For example, Enter Page Number.
Drag a Button onto the page.
In the Properties pane, change the Button Name to GoTo Page.
In the Events pane, select the click event.
When the Actions box appears, click and select the Go To Page
action.
In the Target Element, select the data repeater or data table.
For Input Field ID, select the field you created in step 3.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.