-
March 24th, 2017, 01:46 PM
#1
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.
-
March 24th, 2017, 04:23 PM
#2
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
-
March 28th, 2017, 01:22 PM
#3
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.
-
March 28th, 2017, 05:58 PM
#4
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
-
By mhasan in forum Client SDKs
Replies: 1
Last Post: January 23rd, 2015, 10:23 AM
-
By jonasby in forum Client SDKs
Replies: 2
Last Post: June 17th, 2011, 10:21 AM
-
By msgiribabu in forum General
Replies: 3
Last Post: January 24th, 2011, 09:48 AM
-
By yzhengyu in forum General
Replies: 1
Last Post: January 20th, 2011, 12:22 PM
-
By hungn in forum Client SDKs
Replies: 8
Last Post: March 25th, 2010, 10:02 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 06:53 AM.
Bookmarks