AD
Administrator
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.
NI
Nicola
May 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);
AD
Administrator
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();