August 3rd, 2004, 10:06 AM
how to update wxGrid
Does anyone know how to update wxGrid with new data(which come every 30 sec). wxGrid is ofcourse in wxFrame and I don't want that every 30 sec new Frame pop-up. I want that only cells( actually their colour) change depending on received data.
btw. this is very urgent and importannt for me so please help if you have any idea how to do this.
August 7th, 2004, 02:57 AM
First of all, to get the data from the database every 30 seconds, using sleep or similar, then updating would likely work.
To update the background color, there appears to be a useful function:
SetCellBackgroundColour(X, Y, COLOR)