Set Column in Focus after RadGridViewCommands.BeginInsert

3 posts, 1 answers
  1. Golden
    Golden avatar
    2 posts
    Member since:
    Jun 2007

    Posted 02 Feb 2012 Link to this post

    Hi,

    I have a RadGridView where I add new rows using a button command wired to RadGridViewCommands.BeginInsert, which works great - I get the new row added to my model.

    The only thing I would like to change is the column in focus. Because when the new row is added the column which was last edited is focus is editable in the newly added row.

    Kind regards

    Lars
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 02 Feb 2012 Link to this post

    Hi Lars,

    You could change the CurrentColumn to be the desired column when the AddingNewDataItem event of the RadGridView is raised. 

    Greetings,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Golden
    Golden avatar
    2 posts
    Member since:
    Jun 2007

    Posted 02 Feb 2012 Link to this post

    Thanks Didie, that did it the trick.
Back to Top