Yii Framework Forum: How To Setup Pagination To Use Normal Linksinstead Of Ajax Sub Requests - Yii Framework Forum

Jump to content

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

How To Setup Pagination To Use Normal Linksinstead Of Ajax Sub Requests Rate Topic: -----

#1 User is offline   toli 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 58
  • Joined: 22-January 10

Posted 23 February 2013 - 11:50 AM

Hello,
I need to set the pager for CListView not using ajax requests to load new pages. I want to have a normal links in the pager without any ajax on it.

Is it possible and how I can turn this on for my CListView.
0

#2 User is offline   seenivasan 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 620
  • Joined: 17-June 12
  • Location:Chennai,TamilNadu,India.

Posted 23 February 2013 - 12:38 PM

Dear Friend

We have to declare the property ajaxUpdate as false.

$this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
	'ajaxUpdate'=>false,
));


Regards.
0

#3 User is offline   toli 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 58
  • Joined: 22-January 10

Posted 23 February 2013 - 12:56 PM

Thanks a lot!

View Postseenivasan, on 23 February 2013 - 12:38 PM, said:

Dear Friend

We have to declare the property ajaxUpdate as false.

$this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
	'ajaxUpdate'=>false,
));


Regards.

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