0

I'm using CListView widget to render by items.

But now when I change the page using pagers provided by CListView, it change the data in the _view.

I'd like to know if I can obtain the old data (says, page 1) and append the new data (page 2) to it so that I can see both data from page 1 and page 2.

Thanks!

tereško
  • 58,060
  • 25
  • 98
  • 150
Huang Yen-Chieh
  • 635
  • 2
  • 11
  • 24

1 Answers1

1

There is an extension for yii which provides an endless scrolling pagination: http://www.yiiframework.com/extension/yiinfinite-scroll/

Roman
  • 5,651
  • 1
  • 30
  • 41
  • Thanks! But I can't figure out how to use that extension. I use its widget in my view and render my items using for-loops, but it didn't work as infinite-scroll. Is there any sample code? Thanks! – Huang Yen-Chieh Apr 01 '11 at 01:46
  • Unfortunately I've never used it for myself, but I'm sure you'll get an answer in the yii forums. – Roman Apr 01 '11 at 14:16