Gridview next page does not render completely

I am using a Gridview/ListView and have some chart in the item view using the extension HighCharts, the first page shows up perfect but the next does not. It does not show any of the graphs, the text in the item views is a showing. Any idea how I can get the next pages to show up correct? Thanks,

Found it my self, have added the following to the item-view:




<script type="text/javascript">

$.fn.yiiListView.update('id of the widget');

</script>