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

2 posts, 0 answers
  1. Mohammed
    Mohammed avatar
    9 posts
    Member since:
    Jul 2014

    Posted 21 Jun 2015 Link to this post

    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 ?

  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 Jun 2015 Link to this post

    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
Back to Top