I’m using a CActiveDataProvider and I don’t want the number of results to show up in my view. I know I could hide it via css, but I’d rather it not be in the page at all.
How do I remove: <div class="summary">Total x result(s).</div>
I’m using a CActiveDataProvider and I don’t want the number of results to show up in my view. I know I could hide it via css, but I’d rather it not be in the page at all.
How do I remove: <div class="summary">Total x result(s).</div>
in your gridview???
'summaryText'=>'',
or you set the template
'template'=>'{items}{pager}',
Thanks! I was using a CListView and setting the ‘summaryText’ to blank worked perfect.