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.
I am developing an application in which an update to the current cell causes updates to the values of other cells. My method of doing bulk updates to the grid is the following:
-beginupdate
-getcells
-modify resulting table
-setcells
-endupdate
-refresh affected ranges
This works great except when i try to do it from within the CurrentCellAcceptedChanges event handler. The updated cell contents are there but I have to select a range to see the new values. If I run the code from outside the event handler it works.
So what''s the best way to update cells once a user has finished entering a value into the current cell?
Thanks.
ADAdministrator Syncfusion Team February 8, 2006 01:21 PM UTC
Hi Jim,
Try the RefreshRange(GridRangeInfo range, bool forceRefreshCurrentCell) overloaded method, to force the current cell to refresh. And also try avoiding the BeginUpdate and EndUpdate to see if that helps. Also try CurrentCellChanged and CurrentCellEditingComplete events to see if that serves your need.
Regards,
Calvin.
JIjimFebruary 8, 2006 06:49 PM UTC
Hi Calvin,
Doing the update in the CurrentCellEditingComplete event works.
Thanks!