Cell Edit

How does one define the selected text when the current cell begins edit mode?

4 Replies

CB Clay Burch Syncfusion Team August 30, 2002 09:09 PM UTC

Try handling the CurrentCellInitializeControlText event and set the e.ControlText to the text you want to see.


TR Trevor Redfern September 2, 2002 01:49 PM UTC

Sorry, I should've been more specific. I want to define what text is selected. So that when entering edit mode it behaves similar to say Explorer when renaming and has all the text selected. > Try handling the CurrentCellInitializeControlText event and set the e.ControlText to the text you want to see.


CB Clay Burch Syncfusion Team September 2, 2002 04:06 PM UTC

In version 2.0.2.4, try setting the ActivateCurrentCellBehavior property to SelectAll to see if that is what you want.


TR Trevor Redfern September 2, 2002 05:01 PM UTC

Cool thanks. Did the trick. > In version 2.0.2.4, try setting the ActivateCurrentCellBehavior property to SelectAll to see if that is what you want.

Loader.
Up arrow icon