GridViewSelectColumn is always selected by default

3 posts, 1 answers
  1. Jan
    Jan avatar
    8 posts
    Member since:
    Jul 2012

    Posted 15 Jan 2013 Link to this post

    Hi,

    I'm using a GridViewSelectColumn on my RadGridView which is always selected for the first record. This is normally fine when the SelectionMode is Single because the user would correct the selection. But in cases where the SelectionMode is Multiple the first record is often included in the selection by mistake. Especially in cases where there is grouping involved and only the group header is visible. User are then not aware that there is already an initial selection made.

    Is there anyway to prevent the default selection of the first record?

    Thanks,
    JJ
  2. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 15 Jan 2013 Link to this post

    Hello JJ,

    The first (current) item will be selected when the SelectedItem is synchronized with the CurrentItem. That is why you should set the IsSynchronizedWithCurrectItem property of the GridView to False, in order to prevent the default selection of the first record.
     

    Greetings,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Jan
    Jan avatar
    8 posts
    Member since:
    Jul 2012

    Posted 15 Jan 2013 Link to this post

    Great, thank you. Works like a charm.
Back to Top