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
430
XamGrid and ListCollectionView
posted

Hello,

We're having a trouble binding XamGrid to a ListCollectionView. If I edit any row and cancel editing by pressing the Esc key, the ListCollectionView would not let me filter it anymore:

'Refresh' is not allowed during an AddNew or EditItem transaction.

It works fine when I commit the changes (either programmatically by using ExitEditMode(false) or by Enter key), but breaks the collection when modifications are cancelled.

I tried working around the issue by subsequently re-editing the row and committing it unchanged, but without any luck. Could anyone please help?

Parents
  • 28407
    posted

    HI AntonK,

     I was unable to reproduce your issue.

     I bound the XamGrid to a ListCollectionView. I was able to cancel out of editing and was able to fitler.

     My sample uses build 11.2.2076.

     Pleae review my sample and feel free to modify it so that it replicates your issue.

     Sincerely,
     Matt
     Developer Support Engineer

    WpfApplication14.zip
Reply Children