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
1410
DataPresenterCommands.CellNext doesn't work
posted

We are using Infragistics WPF 13.2.20132.2036. (XamDataGrid)

The goal is, that when user edit a value inside the grid and hit enter, the focus should go immediately to the next cell.

This works fine if only there are multiple columns in the grid.

If I have only one column - it stops work when user reaches"new row" record.

Can you pls help me out.. I cannot see what I'm doing wrong here.

In the attachment you will find: a very simple demo application and two videos explaining in a straightforward way what I'm trying to achieve.

This looks as a bug at first glance.

Desktop.rar
Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello Lukasz,

     

    Thank you for your post. I have been looking into it and the sample you have attached and I modified it, so now it works as you want. Basically in the handled for the EditModeEnded event I added a check if the ActiveCell’s Record is AddNewRecord and if so I execute the XamDataGrid’s RecordManager’s CommitAddRecord method in order to add the new record. Please let me know if this helps you or you have further questions on this matter.

     

    Looking forward for your reply.

    XamDataGridEnterAppModified.zip
Children
No Data