Using QueryableCollectionView

2 posts, 1 answers
  1. band
    band avatar
    37 posts
    Member since:
    Jun 2016

    Posted 18 Jul 2016 Link to this post


    I'm currently setting my ItemsSource for my RadGrid to be of type QueryableCollectionView


    I also set the selecteditem to be of type IDTO. 


    When I use an QueryableCollectionView, by default, SelectedItem is set to the first item in the collection. If I were to use an ObservableCollection, it's completely fine, SelectedItem is empty until an item is selected. May I ask how do I set it so the QueryableCollectionView doesn't set the value by default. 

  2. Answer
    Stefan avatar
    791 posts

    Posted 21 Jul 2016 Link to this post


    Such requirement can be easily achieved by setting the IsSynchronizedWithCurrentItem property of RadGridView to False. Can you please give it a try?

    In addition, you can review the CurrentItem vs SelectedItem topic.

    All the best,
    Stefan X1
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top