Answer the question
In order to leave comments, you need to log in
Can you help me overcome the "weird" behavior of Pjax in YII2?
There is a GridView with an action column, where the Update button calls a modal window with a pjax form for editing. On the page, it's all scattered like this:
<Pjax1>
<GridView>
</GridView>
</Pjax1>
...разная дрянь...
<Modal>
<Pjax2>
<Form></Form>
</Pjax2>
</Modal>
$('#pjax2').on('pjax:end', function(){
$('#modal').modal('hide');
$.pjax.reload('#pjax1');
});
Answer the question
In order to leave comments, you need to log in
You write that "elsewhere ... works without jambs." Play the game "find 10 differences".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question