我正在使用yii ext.yiinfinite-scroll.YiinfiniteScroller进行分页。它在正常页面中正常工作并正确列出。如果我们在弹出窗口中使用相同的代码,则会显示前12行。如果我在弹出窗口中滚动,则下一页不加载。仅显示12行
这是控制器页面编码
//get criteria
$criteria = new CDbCriteria();
$criteria->condition = '"Region"=:Region AND tasting_room AND "Latitude" IS NOT NULL AND NOT "DOW_open"[:DOW] IS NULL'.$qr;
$criteria->params = $psdarr;
//get row_count
$row_count = Wineries::model()->count($criteria);
//pagination
$pages = new CPagination($row_count);
$pages->setPageSize(12);
$pages->applyLimit($criteria);
$Wineries = Wineries::model()->findAll($criteria);
这是视图页面编码
$this->widget('ext.yiinfinite-scroll.YiinfiniteScroller', array(
'contentSelector' => '#winerycontainer',
'itemSelector' => 'ul.wlist',
'loadingText' => 'Loading next 12 rows...',
'donetext' => 'Loading finish.',
'pages' => $pages,
));
如何在弹出窗口中修复该页面加载问题?请帮助我任何人都知道