Hi,
When the cell is clicked, it will be in edit mode and the text in the cell is selected. Can we change this when the cell is start to edit, if there is text in the cell the insertion point must be in the end of the string.
regards,
Ceaser
Yes, it worked.
actually the problem is seen if tab key is pressed.
Hi Ceaser,
When you click on a cell, the cursor will appear at the point you clicked - it doesn't select all of the text. But anyway, if you want to control where the cursor goes, you can do this:
private void ultraGrid1_AfterEnterEditMode(object sender, EventArgs e) { UltraGrid grid = (UltraGrid)sender; grid.ActiveCell.SelStart = grid.ActiveCell.Text.Length; }