-
May 7th, 2010, 08:48 AM
#1
Hi Mone, you said:
to try to let the page perform better you could avoid the style change during the initial snapshot applying 0 to setHotTime on the first update per each item
How to do that ?
because the function to detect that it's the first snapshot is done in the onItemUpdate funtion, while setting the hotTime attribute is done in the onChangingValues function ???
-
May 7th, 2010, 09:25 AM
#2
you have to pass the information from one callback to the other.
there is not a fixed way to do that, you can leverage the extra fields (see the addField method) or any other idea you may come up with.
Our StocklistDemo uses the extra field approach (see the use of the doFade flag and the #fade field)
HTH
-
May 8th, 2010, 09:14 PM
#3
Similar Threads
-
By genkijo in forum Client SDKs
Replies: 1
Last Post: July 20th, 2010, 09:20 AM
-
By hofmanna in forum Client SDKs
Replies: 3
Last Post: January 21st, 2010, 12:25 PM
-
By tuongkha in forum Client SDKs
Replies: 9
Last Post: July 9th, 2008, 09:27 AM
-
By tuongkha in forum Client SDKs
Replies: 19
Last Post: July 8th, 2008, 09:16 AM
-
By bayu in forum Client SDKs
Replies: 1
Last Post: December 17th, 2007, 10:14 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 12:08 AM.
Bookmarks