hi guys, I have two modules. The one won’t create traffic using Pjax(). The other one with excat same code for Grid will create traffic. Any ideas, why?
Here is exactly same Gridcode for both modules:
.
.
.
<?=
Html::endForm();
Pjax::begin();
?>
<div class="col-md-10">
<div class="box box-primary">
<?=
GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'filterSelector' => '.choiceRadio',
'id' => 'cb',
'columns' => $gridColumn,
'options' => [
'style' => 'overflow: auto; word-wrap: break-word;'
],
'condensed' => true,
'responsiveWrap' => true,
'hover' => true,
'persistResize' => true,
'panel' => [
"heading" => "<h3 class='panel-title'><i class='glyphicon glyphicon-globe'></i> " . $this->title . "</h3>",
'type' => 'danger',
'after' => Html::a('<i class="glyphicon glyphicon-repeat"></i> Reset Grid', ['/mail/mail-eingang/index'], ['class' => 'btn btn-warning', 'title' => 'Setzt die GridView zurück']),
'toggleDataOptions' => ['minCount' => 10],
],
'toolbar' => [
'{export}',
'{toggleData}'
],
'toggleDataOptions' => ['minCount' => 10],
]);
Pjax::end();
?>
</div>
</div>
</div>
</section>
<div class="col-md-2"></div>