Hi again Guys.
I looked all threads in the forum and search on google but it still fails.
How can i hide this information of cgridiview?
"Displaying 21-24 of 24 result(s)."
Thank you!
Hi again Guys.
I looked all threads in the forum and search on google but it still fails.
How can i hide this information of cgridiview?
"Displaying 21-24 of 24 result(s)."
Thank you!
Hello (again)
There (at least) 2 ways of doing it:
[list=1]
[*]set the summaryText property to "". That one will render the summary div but leave it empty
[*]set the template property accordingly. That one will remove entirely the summary div
[/list]
Example:
$this->widget('zii.widgets.grid.CGridView', array(
…
'summaryText' => '', // 1st way
'template' => '{items}{pager}', // 2nd way
…
);
Oh God, THANK YOU AGAIN DUDE!
It works now.
Sometimes some basic information is hard to find, don’t you think?
Glad it worked.
Well I guess we all find the information eventually, if not immediately.
To me, that’s the most important I can’t imagine how many cookbooks would be necessary to cover all the use cases allowed by Yii.
Thanks for this info, very helpful.
Regards
Liam