Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Pagination in the OOB Touch UI

sindhu_ramasamy
Level 2
Level 2

Hi all,

On the touch ui, at various locations like sites, projects , assets . I could see that there are various calls fetching the first 40 results , and as we scroll down the page, the next set of forty results comes on and this happens on further scroll down also,

http://localhost:2017/mnt/overlay/granite/security/content/useradmin/views/list.40.40.html?_=1504533...

http://localhost:2017/mnt/overlay/granite/security/content/useradmin/views/list.80.40.html?_=1504533...

What triggers these calls on the scroll down of every page ?

Thanks,

Sindhu.

1 Accepted Solution
kautuk_sahni
Correct answer by
Community Manager
Community Manager

How do you want to use it? What is your use-case?

For reference,

Have a look at :- /libs/granite/security/content/useradmin/views/list

Onscrolling - /mnt/overlay/granite/security/content/useradmin/views/list{.offset,limit}.html is called.

Check offset in this file :- /libs/granite/ui/components/coral/foundation/table/table.jsp

~kautuk

View solution in original post

4 Replies
kautuk_sahni
Correct answer by
Community Manager
Community Manager

How do you want to use it? What is your use-case?

For reference,

Have a look at :- /libs/granite/security/content/useradmin/views/list

Onscrolling - /mnt/overlay/granite/security/content/useradmin/views/list{.offset,limit}.html is called.

Check offset in this file :- /libs/granite/ui/components/coral/foundation/table/table.jsp

~kautuk

View solution in original post

sindhu_ramasamy
Level 2
Level 2

Hi Kautuksahni,

My use case is that I have an separate console where I display the list of products custom to the project similar to the backup console. I need to implement the pagination and I was referring the OOB consoles to know how it is implemented.

Right now , I am getting the same calls repeated again and again and the offset is not incrementing.

http://localhost:2017/apps/pugranch/admin/ext/uptime/content/test/views/list.0.10.html?_=15046203362...

Any help regarding where the offset is getting incremented?

Thanks,

Sindhu.

smacdonald2008
Level 10
Level 10

I do not recommend modifying the Admin UI code itself. If you break something - typically support will not help that.

sindhu_ramasamy
Level 2
Level 2

Hi all,

Any idea on how the /mnt/overlay/granite/security/content/useradmin/views/list{.offset,limit}.html is called on scrolling and how the offset is getting incremented?

Thanks,

Sindhu.