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
875
WPF xamDataPresenter Paste into next available record
posted

How would I get the dataPresenter to paste into the first available (blank) record?  i am currently using:

this.RevPointPresenter.ExecuteCommand(DataPresenterCommands.Paste);

 

this pastes fine, but I need to have the paste performed at the next empty record, regardless of what active row is clicked before the paste operation.  I also need the paste to still be able to paste over an existing record if that is the selected row though.  is there an easy way to do this?  i was also considering possibly sorting the records afterward, but don't want to go through that every time if possible.