Changing Widget Pagination
You can change the default page configurations for widgets in the mobile applications as per your requirements. In the handler JavaScript file for your mobile application, you must use the Canvas Widget Event Handler (CWEH) registerHandler method and the Canvas Widget Event Constants (CWEC) CTAPPBEFOREINITIALIZE event to define the widget pagination type. For example, consider the follo wing custom configurations:
- Displaying number pagination -Â Instead of the 'More' button let's say you want to display page numbers, on click of which the data records on that page are displayed in the widget. Refer the section, Enable Number Pagination, for more information on performing this configuration.
- Enabling swipe pagination -Â Instead of the 'More' button let's say you want to enable swipe gesture for page navigation within the widget. Refer the section, Enable Swipe Pagination, for more information on performing this configuration.Â