Results 1 to 10 of 16

Thread: DynaScrollTable

Hybrid View

  1. #1
    Member
    Join Date
    Dec 2009
    Location
    athens
    Posts
    14
    Hi , you have right
    with previous version i use [MERGE] with the scroll table

    var scrollTable = new DynaScrollTable(page1Group, stocksSchema,"MERGE");

    when i use

    var scrollSubscription = new Subscription("MERGE",page1Group,stocksSchema);

    <table class="scrollContainer" id="scrollTable1" data-source="lightstreamer" border="1">
    <tr>
    <td>
    <span data-source="lightstreamer" data-field="o_Sym"></span>
    </td>
    <td>
    <span data-source="lightstreamer" data-field="o_ddeItem"></span>
    </td>
    <td>
    <span data-source="lightstreamer" data-field="o_Last"></span>
    </td>
    <td>
    <span data-source="lightstreamer" data-field="o_Bid"></span>
    </td>
    <td>
    <span data-source="lightstreamer" data-field="o_Ask"></span>
    </td>
    </tr>
    </table>

    then in a scroll table i get the items but when i get update in a item its not scrolling but is update it in the all ready inserted row
    how i can make the new value to scroll on the table and not to update the cell !!??

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784
    Well, that was unexpected.

    Because of the nature of DISTINCT and MERGE subscriptions we decided to force the "scroll behavior" on the grid for DISTINCT subscription and the "table behavior" for MERGE subscriptions:
    a DISTINCT item ideally is used to represent a list of things while a MERGE item represents something whose status changes. See section 3.1 of http://www.lightstreamer.com/distros...20Concepts.pdf for details.

    In any case, if you can describe us your use case, why you want to use a MERGE subscription to feed a scrolling grid, we may re-evaluate our initial decision (well that's what the beta is for) or show you how to obtain the same effect without modifying the library on our side.

 

 

Similar Threads

  1. Formatting of unchanged values in "DynaScrollTable"
    By hofmanna in forum Client SDKs
    Replies: 5
    Last Post: January 14th, 2010, 10:02 AM
  2. DynaScrollTable
    By georgeeapen in forum Client SDKs
    Replies: 2
    Last Post: April 9th, 2009, 12:19 PM
  3. DynaScrollTable
    By georgeeapen in forum Adapter SDKs
    Replies: 0
    Last Post: April 8th, 2009, 09:22 AM
  4. DynaScrollTable example
    By kastis in forum Client SDKs
    Replies: 2
    Last Post: April 3rd, 2007, 06:58 PM

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 11:20 PM.