Limit number of rows in Data table widget

Alon Grod
Tera Expert

Hi,

 

Is there any way to limit the number of rows in oob data table widget in service portal so that the user wont need to scroll down to see more records.

 

 

5 REPLIES 5

GlideFather
Tera Patron

Ello @Alon Grod,

 

could you be more specific regarding what widget?

 

I simulated it for My Requests widget as that is also list. And click option + LMB to see this options:

Screenshot 2026-03-14 at 22.21.25.png

Select Instance Options to get this window: 

Screenshot 2026-03-14 at 22.21.06.png

 

Where 15 is default, but after changing it to 5, it becomes limited:

 

Screenshot 2026-03-14 at 22.22.13.png

Setting to 100 let me see many records (haven't counted them all 😄 )

 

Was this what you were looking for, let me know

_____
100 % GlideFather experience and 0 % generative AI

@GlideFather my instance option show '5' but i see 20 so its not from there

miftikhar20
Kilo Patron

Hi @Alon Grod,

Here are some helpful ServiceNow Community threads and docs about limiting rows in the Data Table / Data Table from Instance widget:

Can we limit no of items on each page in Data Table from Instance Definition widget?

Limit records in Data Table from Instance widget

Increasing the rows in a list pagination in Service Portal
Discusses increasing or decreasing rows per page through widget configuration.

Add and configure the Portal Data List widget
Official documentation about configuring widget instance options like Maximum entries.

If my response helped, please mark it as the accepted solution so others can benefit as well.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Tanushree Maiti
Kilo Patron

Hi @Alon Grod 

 

As per OOB Data table widget , under server script ,line 66 

Screenshot 2026-03-15 094529.jpg

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: