We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon


Hello What is the difference between : refresh Update InvalidateRange SetRange BeginUpdate/EndUpdate They all force to refresh ? No ?

1 Reply

AD Administrator Syncfusion Team February 9, 2005 06:14 PM UTC

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. Stefan >Hello > >What is the difference between : >refresh >Update >InvalidateRange >SetRange >BeginUpdate/EndUpdate > >They all force to refresh ? No ? >

Live Chat Icon For mobile
Up arrow icon