Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
805
Navigate to Next Cell's EDIT Mode on pressing ENTER Key
posted

Hi,

Could you please provide solution / sample project for the following issue?

Issue : I need to change focus to Next Cell AND go to EDIT Mode of this Cell when pressing ENTER Key

My Trials : I tried

this.ExecuteCommand(DataPresenterCommands.CellNextByTab);

this.ExecuteCommand(DataPresenterCommands.StartEditMode ); 

 but NO luck

Thanks,

 

Parents
No Data
Reply
  • 27093
    Suggested Answer
    posted

    Hello,

    You can do this like so:

     

    xamDataGrid1.ExecuteCommand(

    DataPresenterCommands.CellNext);

    xamDataGrid1.ExecuteCommand(DataPresenterCommands.StartEditMode);

    Another thing you should have in mind is that this will oonly work if you have a focused cell.

    Hope this helps.

    Sincerely,

    Petar Monov,

    DS Engineer,

    Infragistics Bulgaria

     

     

Children
No Data