Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Sep 2008
    Location
    Basalt
    Posts
    14

    Event after HTML has been updated?

    Is there any event or mechanism exposed through the Lightstreamer Javascript API to fire a function after the HTML cells of a StaticGrid have been updated?

    onVisualUpdate fires before the update is complete on the cells of the grid and the model.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    No,

    There is currently no such event.
    Can you expand on your needs so that we may try to suggest an alternative route?

  3. #3
    Member
    Join Date
    Sep 2008
    Location
    Basalt
    Posts
    14
    Quote Originally Posted by Mone View Post
    No,

    There is currently no such event.
    Can you expand on your needs so that we may try to suggest an alternative route?
    Sure,

    We have data populated from a variety of sources (Lightstreamer being one the sources) depending on the service level of the client in question. Firing an event post HTML update allows us to write a single function to perform custom logic both across and incorporating all of these data sources (such as a series of calculations) that will work for all levels of customers.

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Hi,

    sorry for the late answer,

    I'm not sure why you can't do that before the values are in the html, anyway, what do you think about integrate values from other sources inside your DynaGrid or StaticGrid and thus be able to work with all the data from one single place?

    see http://www.lightstreamer.com/docs/cl...html#updateRow and http://www.lightstreamer.com/docs/cl...html#removeRow

 

 

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 09:41 PM.