I have a virtual grid where the values in the cells can be modified by several people on the network. When a user edits a cell, I want to make sure they''re aware of its most recent value. I''ve tried things like CurrentCell.Refresh in CurrentCellStartEditing, but it seems that the refresh doesn''t make it into the renderer. I''ve tried setting the Renderer.ControlText in that event, but I''ve discovered that I get errors from time to time. (I''ve enclosed a screenshot of the error stack.) What''s the proper way of updating the cell that''s going into edit mode? Also: for something like F2 it should refresh and edit, but if the user starts typing I don''t want to lose their keystrokes.
ADAdministrator Syncfusion Team January 28, 2005 04:26 PM
to see if that will do what you need. (Note this is Control.Text and not ControlText)
If you want to set the initially displayed text, you might also try using the CurrentCellInitializeControlText event. There you can set e.ControlText.