Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Is there a “Page Changed” event on SP 365 ListView webpart?

$
0
0

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


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>