When I use ListView
I it always does a count. For example says something like:
Showing 1-1 of 1 item.
My results/items are above. How can I remove this?
Current ListView
code
<?= ListView::widget([
'dataProvider' => $dataProvider,
'itemOptions' => ['class' => 'col-xs-6 col-sm-3'],
'itemView' => '_index',]);
?>
Found my answer used the following line:
'summary'=>'',
You could also use:
'summary'=> false
I prefer false
instead of empty string for better readability or in case you want to use a boolean expression (like: $row_count > 0
).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With