Home Forums WPF controls Xceed DataGrid for WPF InsertionRow && IBindingList && NotSupportedException

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #24874 |

    Hi,

    I found that if I want insert some data to your Grid my ItemsSource should implements IBindingList interface. Ok, that simple. But what happend next was NotSupportedException:

    “NotSupportedException – This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.”

    In blogs I found that i should use ObservableCollection, which will help me to support cross-thread changes..

    Does anyone know how to use the both things:

    -IBindingList
    -ObservableCollection

    in simple way?

    Thanks!
    Majkez

    Imported from legacy forums. Posted by Michal (had 379 views)

    Xceed Support
    Member
    Post count: 5658

    I don’t think what you are trying to accomplish will be possible. I suggest you read the following thread: <a href=”http://www.beacosta.com/blog/?m=200609″>http://www.beacosta.com/blog/?m=200609</a&gt;, which will probably give you better information than I can provide.

    Imported from legacy forums. Posted by Jenny [Xceed] (had 2704 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.