Remove default selection in RadGridView

3 posts, 0 answers
  1. Madhan
    Madhan avatar
    11 posts
    Member since:
    Dec 2011

    Posted 06 Mar 2012 Link to this post

    Hi,

    Is there a way to remove/restrict the default selection (first row) of the RadGridview?

    Note:After pressing the row, it should display as selected.

    Thanks,
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 06 Mar 2012 Link to this post

    Hello,

     If you set the IsSynchronizedWithCurrentItem property of the RadGridView to "false" there should be not a default selection. 

    All the best,
    Didie
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Gord
    Gord avatar
    20 posts
    Member since:
    Jul 2014

    Posted 21 Apr Link to this post

    I know this is an older post, but in case anyone comes across this, and cannot turn off "IsSynchronizedWithCurrentItem" because the functionality is required for other things within the grid, there is another workaround I have discovered:

    grid.Loaded += new RoutedEventHandler((sender, e) => { (sender as RadGridView).CurrentItem = null; });

     

Back to Top