How can I delete the sentence "Total X resutl(s)" in CGridView


does anybody know how can I delete the totalItemCount when I use CArrayDataProvider and CGridView?

I want to delete this sentence that appear above the grid that said: "Total X result(s)"

I did not find anything. :unsure:

Thank you!

You can use ‘template’ property or ‘summaryText’ property to change the appearance of the grid.

CGridView has those properties derived from CBaseListView.

Thank you very much Softark for your answer. ;)

To fixed it I wrote:


This way you will still have an empty summary div above the listview. As softark stated you can change the template of the listview quite easily, just do




and the empty summary div will also be gone