pagination in servicenow widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 02:28 AM
Please help on the pagination in servicenow widget
i want to add the pagination in my custome widget
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 02:53 AM
@hemantnh Please refer to this article https://www.servicenow.com/community/developer-articles/easily-paginate-sort-and-filter-within-your-... and see if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 03:08 AM
from this, all the fetching data coming in once and then when we click on the next button its just moving to the next records..
what i am looking is
it should fetch only 5 first and when i click on the next button it fetch the another set of 5 records to show in the page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 02:58 AM
Hi @hemantnh,
What's the source or starting point for your widget? Is it built completely from scratch or have you cloned an existing widget. The Data Table for example provides a record list with pagination.
I would suggest you review the 'widget-data-table' widget for guidance.
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Kudos.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2024 03:01 AM
completely from scratch