Description:
I am using custom drawing to colorize the cells of a View in my Grid and they do not seem to repaint when I return from another form. How can I force them to be repainted?
Answer:
You may just call the Invalidate method of a View or a particular record:
DelphiAView.Invalidate(False); AView.Controller.FocusedRecord.Invalidate; AView.Controller.FocusedRecord.Invalidate(AColumn);
Please refer to the ExpressQuantumGrid's documentation to learn more about these methods.
See also:
How to color a Grid cell at runtime
Flashing cells
How to obtain the rectangular area of a particular View cell