我在Yii2中使用Kartik GridView。
当我使用Html点击数据时:a()。
它确实显示0为页面总数。我该如何解决这个问题?
有没有办法链接总值/汇总值?
[
'label' => 'INSTITUTION/RIPE',
'format' => 'raw',
'value' => function ($dataProvider) use ($BRANCH_CODE, $FROM_DATE, $TO_DATE) {
//return $dataProvider->getInstitution($BRANCH_CODE, $dataProvider->CASENAMECODE, $dataProvider->BENCH, $FROM_DATE, $TO_DATE);
return Html::a($dataProvider->getInstitution($BRANCH_CODE, $dataProvider->CASENAMECODE, $dataProvider->BENCH, $FROM_DATE, $TO_DATE),Url::toRoute('/cases/index'));
},
'pageSummary' => true,
'pageSummaryFunc' => GridView::F_SUM,
],