Yii Framework Forum: Fn.yiilistview.update How To Not Delete The Old List Before Ajax Complete? - Yii Framework Forum

Jump to content

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

Fn.yiilistview.update How To Not Delete The Old List Before Ajax Complete? Rate Topic: ***** 1 Votes

#1 User is offline   jzhong05 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 16
  • Joined: 21-August 13

Posted 25 November 2013 - 12:54 PM

I'm using fn.yiiListView.update too update my CListView. I noticed that every time this function gets triggered, it clears the old clistview first, then load, then output the new listview.

How can I make it so it does not clear the old listview until the new thing is loaded, so user won't notice a blank listview with loader image only during this process?

Please advice, thanks.
0

#2 User is offline   chandran 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 488
  • Joined: 08-October 12
  • Location:Austria

Posted 26 November 2013 - 07:51 AM

Hi,
Loader image should be overlayed during this process .This is one of the way to avoid user using empty page
Thanks
chandran nepolean

My own extension:
http://www.yiiframew...sion/ejqueryte/

My wiki
http://www.yiiframew...checkboxcolumn/

If it work dont hesitate to click +1 button
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