pagination in servicenow widget

hemantnh
Tera Expert

Please help on the pagination in servicenow widget

 

i want to add the pagination in my custome widget

4 REPLIES 4

Sandeep Rajput
Tera Patron
Tera Patron

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 

 

Robbie
Kilo Patron
Kilo Patron

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

completely from scratch