Results 1 to 9 of 9

Hybrid View

  1. #1
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Yes, I have realised that in-between and edited my post in a sneaky way (before you posted your reply )
    Probably I clicked "new reply" and went away for a while

    It is supposed to be a jQuery selector that will get all element from that DOM that have the class "slidetarget"
    so is it possible that the stylesheet is not yet associated with the cell when you call jquery? (hot stylesheet is applied after setColdToHotTime millis )

    It seemed to me, that when my command is ADD, it contains the row that will be added, but when my command is UPDATE, it has the row with the old values (probably it is the way it should work, just took me time to find out ).
    yes that's correct, the row with old values will be updated with new values after the onChangingValues

    The docs of onChangingValues say to leave to domNode alone, so maybe it is not a good idea to modify it via jQuery
    yes that statement was added to avoid to deal with clients removing pieces from an element. As long as you just move pieces around you should not have any problem (anyway, are you using build 1396.4 or 1413?)

    BTW is there a mean of telling at the initial load of the client, that client has finished loading the records it is supposed to display?
    there is a onEndOfSnapshot callback that's called after the initial snapshot of ADD commands, not sure if this is a good hook for your needs

    i use onCurrentPagesChanged() and I check the number of pages available via getCurrentPages(), because I had no clue where else to put the goToPage() call.
    note that onCurrentPagesChanged receives as parameter the number of pages. That said you can call the goToPage method anywhere; the onCurrentPagesChanged is intended to be used to maintain an UI coherent with the number of pages available, but if you find it useful to perform other actions that's not a problem.

  2. #2
    Member
    Join Date
    Jan 2011
    Location
    Redhill
    Posts
    9
    I am using "Lightstreamer Server 3.6 build 1463.2" Moderato edition (for now).

    Do client libs have separate version numbers?

  3. #3
    Member
    Join Date
    Jan 2011
    Location
    Redhill
    Posts
    9

    Cool

    Oh, I see, you have a 4.0 preview Hmm I might try that, as our application is not yet in production, we might as well start with the most up-to-date Lightstreamer (if there are no showstopper issues wrt our data adapters and stuff)

  4. #4
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    yes, any client has its own version / build number;
    the version numbers are included in the folder where you find the library itself.
    On the web client there is also the Lightstreamer.version property that can be checked.

    all the possible compatibility issues are listed in the changelog.

    Any feedback on the preview release is welcome

 

 

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 05:22 PM.