ADAdministrator Syncfusion Team March 17, 2005 06:13 PM
Try calling grid.RefreshRange using the overload that allows you to set forceRefreshCurrentCell to true.
MIMikeMarch 18, 2005 09:01 AM
In my early research, the RefreshRange seemed more expensive in terms of CPU utilization than the InvalidateRange so I''ve used the latter.
Maybe I can just check is the current cell intersects with my updated range and use the RefreshRange selectively.
ADAdministrator Syncfusion Team March 18, 2005 09:28 AM
Here is the code in RefreshRange. It shows what has to be done to get the currentcell refreshed.
public void RefreshRange(GridRangeInfo range, GridRangeOptions options, bool forceRefreshCurrentCell)
TraceUtil.TraceCurrentMethodInfoIf(Switches.BeginEndUpdate.TraceVerbose, PaneDesc, range);
if (forceRefreshCurrentCell && range.Contains(CurrentCell.RangeInfo))