This is a migrated thread and some comments may be shown as answers.

How to start edit mode at the end of cell's text ?

1 Answer 69 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mohammed
Top achievements
Rank 1
Mohammed asked on 21 Jun 2015, 04:20 PM

Hello , 

 

I would like to begin edit at the end of cell's text in RadGridView . some thing like the following at windows form :

dgv.BeginEdit(false);
((TextBox)dgv.EditingControl).SelectionStart = 0;

 

Is it doable ?

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 22 Jun 2015, 11:23 AM
Hi,

You can try subscribing for the PreparingCellForEdit event of RadGridView and then configure e.EditingElement accordingly.

Regards,
Dimitrina
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
Mohammed
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or