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
1320
Make the new record always available
posted

Hello,

I have the following issue when adding new records to a xamDataGrid. The new record line always appears on the bottom of the grid. 

If the record has been filled the user has to press TAB so a new line appears. To avoid that the user has to discover this I want the grid to show a new record line automatically when he starts editing the previous new record line. 

Is that possible?

Kind Regards

  • 138253
    Verified Answer
    Offline posted

    Hello,

    Thank you for your post. I have been looking into it and I can suggest you handle the XamDataGrid’s RecordAdded event and add the following code in its handler in order to achieve the functionality you want:

    e.Record.DataPresenter.RecordManager.CommitAddRecord();
    

     

    Please let me know if this helps you or you need further assistance on this matter.

    Looking forward for your reply.