It is not possible to do it with a WinTextBox (the default editor for a string column), but you can do it using a regular .NET TextBox.
e.g.:
ContextMenu contextMenu = new ContextMenu();
//setup the contextMenu
TextBox textBox = new TextBox();
textBox.ContextMenu = contextMenu;
gridControl1.Columns[
“string column” ].CellEditorManager = new CellEditorManager( textBox, “Text”, true, true );
Imported from legacy forums. Posted by André (had 936 views)