I have a grid where only a single column can be edited. Regardless of how cells in this column are entered (mouse, tab key, up arrow, down arrow), I want the text in the cell highlighted upon entry. Accessing the cell via the tab key does this but mouse, up arrow, down arrow do not. What is the best/easiest way to do this? Thanks.
private void ultraGrid1_AfterEnterEditMode(object sender, EventArgs e) { UltraGrid grid = (UltraGrid)sender; EmbeddableEditorBase editor = grid.ActiveCell.EditorResolved; if (editor.SupportsSelectableText) editor.SelectAll(); }
this works if I navigate to the cell with the mouse, tab, return this works fine - however up/down arrow this tihs does not work.