JavaScript
canPageNavigate
Arguments
- eobject
An object passed to the event that contains the following properties:
- targetstringnumberstring|number
The target page. Can be one of the following values:
- Target Page
- Description
- first
The first page of results.
- prev
The previous page of results.
- next
The next page of results.
- last
The last page of results.
- <number>
A specific page number. E.g. "3".
Description
Fires when the user tries to navigate to another page of records. If the event returns false, the action is cancelled.
To prevent the user from navigating to another page of records, the event can return false. For example:
if (e.target == 13) { return false; }