Using QueryableCollectionView

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

    Posted 18 Jul Link to this post

    Hi,

    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 X1
    Admin
    Stefan X1 avatar
    523 posts

    Posted 21 Jul Link to this post

    Hi,

    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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top