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.
Hello,
I am using a dataBoundGrid and having problems typing in a cell. Whenever I go and try to override text in a cell the cursor kicks back to the first position in the cell.
Has anyone ever seen this before?
Thanks!
ADAdministrator Syncfusion Team May 27, 2005 03:39 PM UTC
Are you handling any events like the keypress or keydown? If so, are you doing anything that might end the edit on the cell at that point (like CurrentCell.EndEdit or Currentcell.ConfirmChanges or minipulating the CurrencyManager in some manner)?
If you can upload a sample showing the problem we can try to debug it here.
NINicolaMay 31, 2005 12:46 PM UTC
Hi Clay,
Thanks for your response. I think I tracked down the problem. Would you be able to supply me with code to invalidate and refresh a range of cells. I tried the following piece of code but the cells don''t appear to redraw immediately.
Thanks!
m_grid.BeginUpdate();
m_grid.InvalidateRange(m_newUpdates);
m_grid.EndUpdate();
m_grid.RefreshRange(m_newUpdates);
ADAdministrator Syncfusion Team May 31, 2005 01:32 PM UTC
If you are calling InvalidateRange, you probably do not want to use BegiUpdate and EndUpdate. Try:
m_grid.InvalidateRange(m_newUpdates);
m_grid.Update();