ADAdministrator Syncfusion Team February 9, 2005 01:14 PM
Refresh will also call ResetVolatileData and call UpdateScrollbars. After that it will call Invalidate and Update to force a immediate repaint.
InvalidateRange only invalidates the cells of the given range. Repaint occurs next time a WM_PAINT message is sent to the control.
ChangeCells changes contents of cells. It saves the data into Data object, optionally creates undo information and then calls InvalidateRange followed by a Update.
BeginUpdate suspends all drawing to the grid. EndUpdate will resume drawing. When you pass true to BeginUpdate it will check if any calls were made after BeginUpdate that invalidated area of the grid. In such case Update is called followed by a UpdateScrollbars call.
>What is the difference between :
>They all force to refresh ? No ?