Results 1 to 7 of 7

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jul 2009
    Location
    not
    Posts
    41
    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 ???

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    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

  3. #3
    Senior Member
    Join Date
    Jul 2009
    Location
    not
    Posts
    41
    Thank you Mone.

 

 

Similar Threads

  1. Choice of VisualTable and Event handlers
    By genkijo in forum Client SDKs
    Replies: 1
    Last Post: July 20th, 2010, 09:20 AM
  2. Replies: 3
    Last Post: January 21st, 2010, 12:25 PM
  3. format value in VisualTable
    By tuongkha in forum Client SDKs
    Replies: 9
    Last Post: July 9th, 2008, 09:27 AM
  4. Error with VisualTable
    By tuongkha in forum Client SDKs
    Replies: 19
    Last Post: July 8th, 2008, 09:16 AM
  5. VisualTable = How to capture value?
    By bayu in forum Client SDKs
    Replies: 1
    Last Post: December 17th, 2007, 10:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 03:36 PM.