PJax & Widgets

I’m using popover-x widget as an editor for items in a listview which gets reloaded as follows:

$.pjax.reload({container:’#list-contents’}); - When I reload the contents after editing or adding records the popover no longer works…

What specifically do I need to run to re-init the popover widget after a pjax load?

Thanks in advance!

For this usecase I would use simple ajax request and on controller side renderajax to send back the result

http://www.yiiframework.com/doc-2.0/yii-web-controller.html#renderAjax()-detail