Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    74

    Separate single stock from list of stock and display in command mode dynagrid

    I have an issue on displaying rates on sub screen(Separate Div). I'm using the command mode to subscribe with my adapter. Displaying rates in below attached images. In my all rates display page I can show the rates by using dynamic grid. All the rows create and display based on my adapter response. No issue on this table display. But If I click on click here button on every row respected row details should need to show on separate div.(Above all stock table I have separate div with details of single stock.). I have an issue on displaying the rates in separate div.

    Click image for larger version. 

Name:	esternunionls.jpg 
Views:	86 
Size:	49.1 KB 
ID:	226

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    541
    Hi rvkvino,

    What kind of problem did you have?
    Indeed you have two options in order to achieving the desired behavior:
    - Start a new subscription recovering the Item name from the row of the DynaGrid clicked, and attaching a very simple static Grid (something similar to the pop-ups of this demo: http://demos.lightstreamer.com/StockListDemo/).
    - Intercept values from OnVisualUpdate listener and inject values manually in the div above (document.getElementById("...").innerHTML = value).

    Regards,
    Giuseppe

  3. #3
    Senior Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    74
    I'm having the problem in these 2 methods. I have tried in these 2 solutions.
    1.In first solution I have issue on getting the stock name to send subscription to my remote adapter.
    2. In second solution I have issue of checking the current clicked row stock id and values against the current row stock values.

  4. #4
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    541
    Hi rvkvino,

    You should replicate the behavior of this demo, where onclick event method is customized with the proper Item name for each row.

    https://github.com/Lightstreamer/Lig...index.html#L68
    https://github.com/Lightstreamer/Lig...ndex.html#L198

    Regards,
    Giuseppe

 

 

Similar Threads

  1. Replies: 1
    Last Post: January 23rd, 2015, 10:23 AM
  2. Replies: 2
    Last Post: June 17th, 2011, 10:21 AM
  3. Replies: 3
    Last Post: January 24th, 2011, 09:48 AM
  4. LightStreamer and Tomcat separate setup
    By yzhengyu in forum General
    Replies: 1
    Last Post: January 20th, 2011, 12:22 PM
  5. Replies: 8
    Last Post: March 25th, 2010, 10:02 AM

Tags for this Thread

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 04:55 PM.