The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Is the BeginUpdate()/EndUpdate(true) pattern supposed to work with the DataBoundGrid?
Im finding that whilst BeginUpdate() does in fact stop updates propagating to the view, EndUpdate(true) doesnt cause those deferred updates to be drawn.
Ive tried wrapping SuspendBinding()/ResumeBinding() around the BeginUpdate()/EndUpdate(), to no avail.
Is BeginUpdate()/EndUpdate() simply broken on the DataBoundGrid? Could I perhaps be setting thr wrong options on the BeginUpdate method? (Ive tried them all).
Im using Syncfusion 1.6.8. Could this behaviour be fixed in 2.0.x?
ADAdministrator Syncfusion Team January 21, 2004 11:32 PM UTC
Have you tried calling BeginUpdate like this:
this.gridDataBoundGrid2.BeginUpdate(Syncfusion.Windows.Forms.BeginUpdateOptions.Invalidate);
to see if that makes a difference?
You can always call grid.Refresh() after your EndUpdate call to force a refresh. (Or, call grid.Invalidate followed by grid.Update to force a redraw).
DMdamien mortonJanuary 22, 2004 01:56 PM UTC
It turns out that calling grid.Update() immediatly after grid.EndUpdate(true) forces the update through.
I thought that grid.EndUpdate(true) forces an Update() call, but it appears that that functionality isnt working.