R
R
Roman Volkov2015-06-08 16:04:08
Yii
Roman Volkov, 2015-06-08 16:04:08

How to use kartik-v/yii2-grid?

I'm trying to use showPageSummary. I write the following config
GridView::widget([
'dataProvider' => $dataProvider,
'summary'=>'',
'showPageSummary' => true,
'pageSummaryRowOptions' => ['class' => 'kv-page-summary warning'],
'columns' => [
'calldate:datetime',
]
]);
?>
But I get an error Calling unknown method: yii\grid\DataColumn::renderPageSummaryCell()

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
matperez, 2015-06-08
@matperez

Most likely, you have a GridView from another nemspace. Try explicitly specifying \kartik\grid\GridView::widget...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question