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 having a problem where when the grid gets updated (for example a Paste operation), the active cell (with a text box in it) does not get updated until the focus is moved to another cell. Do I need to manually update it or is there a call to the grid I need to make to tell it to update the TextBox?
More detail:
After we finish the paste we call InvalidateRange() and then do a Refresh(). If I replace the Refresh with a RefreshRange() it works (the cell gets updated). What's the difference between Refresh/RefreshRange?
ADAdministrator Syncfusion Team May 23, 2003 11:45 AM UTC
This should be fixed in 1.6. Just calling RefreshRange should be fine.
Difference between this two methods is that Refresh does a bit more. Also updates scrollbars, refreshed current cell etc. But as I said in 1.6 the RefreshRange call will also take care on synchronizing current cell contents.
Stefan
RARamuMay 28, 2003 04:11 PM UTC
> This should be fixed in 1.6. Just calling RefreshRange should be fine.
>
> Difference between this two methods is that Refresh does a bit more. Also updates scrollbars, refreshed current cell etc. But as I said in 1.6 the RefreshRange call will also take care on synchronizing current cell contents.
>
> Stefan
Hey, I am also facing the same problem. But even when I add refreshrange, its not updating.
MessageBox.Show( sygFormFields[intRowIndex, intColListValues].Text );
sygFormFields[intRowIndex, intColListValues].Text = _strUpdatedListValues;
sygFormFields.RefreshRange(GridRangeInfo.Rows(intRowIndex,intRowIndex));
MessageBox.Show( sygFormFields[intRowIndex, intColListValues].Text );
During the first update, its working fine. for the subsequent updates, its not refreshing.
Thanks in Advance.
Ram
ADAdministrator Syncfusion Team May 28, 2003 06:43 PM UTC