Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Displaying dynamic data
posted

Hi,

I'm looking for recommendations / documentation on how to use the grid to display dynamically changing data? For example, I have a requirement to show a grid of 100+ rows and ~10 columns where the value in each cell can change potentially change many times per second. However, from a user perspective it will be acceptable to update the visible cells once per second (if the data has changed). I'd also like to provide a visual indication for the cells that have changed values in the latest update (for example, by changing the background color of the cell for half a second).

(The grid actually needs to display ticking market data for all the equity stocks within a particular index (S&P, FTSE, etc.))

 

Cheers,

Dave.

Parents
  • 3186
    Offline posted

    Sounds like you might want to keep a boolean array of indicators of a change.  Perhaps set a timer control to 1/2 second intervals.

    First period draw second erase.

    I have written something similar with tracking GPS locations of golf carts and displaying a grid on the screen using progress bars to show how close each is to the hole.  It was an interesting app although not quite as fast changing as this or as much data.

    I hope a limited amount of data is changing otherwise I would think it would drive you crazy.

    Have fun,

    Nick

     

     

Reply Children