I’m stuck at the moment with Pjax and it would be nice to get some ideas or hints. Does Pjax can work with nested calls like this? How can i handle this? At the moment, the pages does an url refresh when it comes to nestes situations.
I want to load the pages by Pjax and i also want to use ListView in these Pages.
/views/layout/main.php
<body>
<wrapper>
<?php Pjax::begin(); ?>
// HTML Content
<?= $content ?>
<?php Pjax::end(); ?>
</wrapper>
</body>
/views/audio/index
<?php
Pjax::begin();
echo ListView::widget([
'dataProvider' => $dataProvider,
'itemView' => '_item',
'layout' => '{summary}{items}{pager}',
]);
Pjax::end();
?>