Enable Swipe Pagination
To enable swipe gesture for page navigation within widgets, you must use the 'bySwipe' keyword for the paginationType property. The following is a sample code snippet:
CWEH.registerHandler('CT_ACC_SUMMARY_WGT', CWEC.CTAPPBEFOREINITIALIZE, function() { this.paginationType = "bySwipe"; }); //Here, CT_ACC_SUMMARY_WGT is the Widget ID and CTAPPBEFOREINITIALIZE is the event ID.
The following screenshot shows a sample widget in the CTModelHouse mobile application with swipe pagination. You can see that instead of the 'More' button, the swipe dots are displayed. Users can just swipe left or right to view the data on different pages.