I know somewhere there is a wonderful article on the correct way to access data in the WinGrid, but I cannot find the link. Would someone mind giving me that link again?
Sam
that is the one!
you mean this famous article
The main thing I remember was: When accessing a cell's content for information, the logical way would be to drill down into the object hierarchy to get it. But the best way is to use a string name of the property at a higher level. I recall the reasoning had something to do with the fact that the grid did not actually create all the objects in between unless it really needed to create them, so the lookup based on string is actually faster.
All in all, I remember it was a wonderful article on the best way to work with the WinGrid and maintain wonderful performance, though that was was not as obvious as one might think.
Hi Sam,
Off the top of my head, I don't know what link you are looking for. What, exactly, do you mean by "access data in the WinGrid?"
You just want to get the value of a cell?