Yii Framework Forum: how to remove Displaying 1-n of n results - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

how to remove Displaying 1-n of n results Rate Topic: -----

#1 User is offline   bettor 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 744
  • Joined: 02-February 09

Posted 09 February 2010 - 06:58 AM

This may seem as an easy question but I could not figure out how to remove the "Displaying 1-n of n results" from the CGridView generated table. I have 'enablePagination'=>'false' but it did not help for this

cheers,
b
0

#2 User is offline   andy_s 

  • Random Member Title
  • Yii
  • Group: Moderators
  • Posts: 1,526
  • Joined: 22-June 09
  • Location:Russia, Kostroma

Posted 09 February 2010 - 07:41 AM

Is it summaryText property? Just set it to an empty string.
http://www.yiiframew...maryText-detail
0

#3 User is offline   qiang 

  • Yii Project Lead
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,857
  • Joined: 04-October 08
  • Location:DC, USA

Posted 09 February 2010 - 07:42 AM

http://www.yiiframew...template-detail
0

#4 User is offline   bettor 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 744
  • Joined: 02-February 09

Posted 09 February 2010 - 08:07 AM

View Postqiang, on 09 February 2010 - 07:42 AM, said:




Excellent. This is what I was looking for. Thanks qiang.

I also took a look at the summaryText suggested by andy_s and eventho it did not directly resolved my situation it was useful to look at the functionality this property offers.

Cheers
b
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users