Using a content editor webpart, I have added some javascript (jQuery) to a standard SP 365 AllItems.aspx page to do some special formatting on the list items. The formatting function is called on $(document).ready and also onpageLoad.
This all works just fine. However, when the list view is paged to the next page, the formatting function is not called. I would have thought that the page change would trigger a call to pageLoad like any other async refresh, but it doesn’t.
I can see when the page change begins because I have an override on the RefreshPageTo function, but I can’t see when it completes. I currently set a timeout in my override of RefreshPageTo which calls the formatting function, but this is less than ideal.
Is there an event raised when a page change completes on a listview in SP365?
Many thanks
Stuart