Hello, I have the suilete which shows the Sales da...
# suitescript
s
Hello, I have the suilete which shows the Sales data using pagination, so how can I add a 'page index' field over the sublist like buttons
n
Move the sublist to the tab. Then add that field to the same tab. It will at least appear under that section.
e
Sublist
instances have an
addButton
method
s
It still disturbs me that vanilla Suitelets use design patterns approaching 30 years old
n
@erictgrubaugh but that's not a button, that's a dropdown field for pagination.
1
e
AFAIK, using native APIs, you cannot put a
Field
where the OP is indicating. You can put `Button`s there though, so you could add Next/Previous Page buttons.
1
It's disappointing there's no API for using the native UI paging control, which clearly exists on native sublists
💯 1
n
Yeah. I use the tab to group the sublist and field under same container so at least the pagination field is close to sublist.