Highlight SelectedItem

4 posts, 1 answers
  1. Maurizio
    Maurizio avatar
    45 posts
    Member since:
    Jan 2012

    Posted 29 Oct 2014 Link to this post

    How can I make a RadGrid to always highlight the SelectedItem (or CurrentItem) in full color like in the screen-shot OK.png.

    Why does the SelectedItem ist sometimes only have a border like in the other screen-shot (NotOK.png).

    I want a behavior like in a ListBox where some item is always "active" (i.e. selected).
  2. Maurizio
    Maurizio avatar
    45 posts
    Member since:
    Jan 2012

    Posted 29 Oct 2014 in reply to Maurizio Link to this post

    The attached Screenshots were bad, here are the right ones.

    Unfortunately I cannot edit my old post
  3. Answer
    Boris
    Admin
    Boris avatar
    276 posts

    Posted 30 Oct 2014 Link to this post

    Hi Peter,

    It might be just a shot in the dark but could you try setting the EnableLostFocusSelectedState property of RadGridView to "False". For more information about this property you can check the Stop Showing the Unfocused State documentation article. However, if that is not helping, could you please provide us with more information about your case? Perhaps some code snippets with how everything is defined and a screen-cast that will illustrate the steps to reproduce the behavior.

    We are looking forward to your reply.

    Regards,
    Boris Penev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  4. Maurizio
    Maurizio avatar
    45 posts
    Member since:
    Jan 2012

    Posted 04 Nov 2014 in reply to Boris Link to this post

    Good shot, Boris!

    It did the trick. My current row remains nicely highlighted - wherever the focus moves.
Back to Top