Fork me on GitHub

Name Last Time +/- Change Bid Size Bid Ask Ask Size Min Max Ref. Open
-
-
-
-
-
-
-
-
-
-
-
-

This demo shows how it is possible to build a dynamic GRID by simply leveraging a Lightstreamer DynaGrid.

The 30 items of the Stock List Demo are virtually contained in the GRID, but only 5 at a time are displayed. The slider to the right (based on script.aculo.us) implements a virtual scroll bar. When the table is scrolled, the invisible items are unsubscribed from and the new visible items are subscribed to. To accomplish this, each Lightstreamer Subscription contains one item only (i.e. each row on the screen is a subscription), so that the granularity of subscriptions and unsubscriptions is at a row level.