Page 1 of 1
Pagination spinner not showing through pagination change
Posted: Wed May 25, 2016 4:14 pm
by Austin Troth
On an app that has pagination enabled for a list that has a limit of 100, when I move to the next page the loading spinner does not show up for the whole time it is loading the list. At first it looks like the page change didn't work but turns out if you just wait it will work through. Is there a way to force the spinner to show while it finishes loading. Thanks
Pagination spinner not showing through pagination change
Posted: Thu May 26, 2016 6:53 am
by Serhii Kulibaba
Hello Austin,
Yes, it is possible. Please use JS code below to show/hide spinner:
preshowSpinner();
hideSpinner();/pre
Please add it to events "Before send" and "Success" of the service
Pagination spinner not showing through pagination change
Posted: Thu May 26, 2016 6:46 pm
by Austin Troth
I tried this command on both the service and the next button js commands and it still disappears before the list is completely loaded
Pagination spinner not showing through pagination change
Posted: Fri May 27, 2016 8:51 am
by Serhii Kulibaba
Could you clarify, what length of the list do you have? Does it have images?
Pagination spinner not showing through pagination change
Posted: Fri May 27, 2016 2:46 pm
by Austin Troth
The database has 15124 entries but they have a load limit of 100 at a time. No images are included just 3 strings
Pagination spinner not showing through pagination change
Posted: Mon May 30, 2016 8:38 pm
by Serhii Kulibaba
Did you set codeshowSpinner();/code to the before send event?
You can force it's showing there