Yii Framework Forum: use pagination (JavaScript) problem - Yii Framework Forum

Jump to content

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

use pagination (JavaScript) problem Rate Topic: *---- 1 Votes

#1 User is offline   james2010 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 48
  • Joined: 19-February 10

Posted 09 May 2010 - 07:56 AM

i got a problem with pagination and JavaScript.

$dataProvider=new CActiveDataProvider('data', array('pagination'=>array(
					'pageSize'=>'2')));?>

i used it with a ListView
<?php $this->widget('zii.widgets.CListView', array(
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',  
	)); ?>

so in my _view i have a CTabView.

its works fine but when i goto the next site . CTabView is not working anymore

the pagination is working fine (and i realy love it ) but when i have for example the

CTabView this is not working anymore after i go to a other page.



controller
$this->render('index',array(),false,true);

0

#2 User is offline   james2010 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 48
  • Joined: 19-February 10

Posted 12 May 2010 - 12:31 PM

so what i dont get.

i checked answer with firebug.

example pagination with some Pictures in it and Draggable.

first site.

jQuery('#1').draggable({'scope':'drag','revert':true,'opacity':0.3});

now goto second site check answer with firebug

jQuery('#2').draggable({'scope':'drag','revert':true,'opacity':0.3});

so everything right. but the picture are not draggable anymore.

same with TabView
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