Cell Background when Editing

2 posts, 0 answers
  1. oburgaya
    oburgaya avatar
    6 posts
    Member since:
    Nov 2012

    Posted 13 Dec 2016 Link to this post

    Hello,

    It's possible to set to transparent the background color when a Cell is in "Edit mode".

     

    Now I'm getting one of the default template colors.

     

    Regards!

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 15 Dec 2016 Link to this post

    Hello ,

    You can utilize the EditorStyle property of each GridViewColumn within your RadGridView:

    <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}">
                       <telerik:GridViewDataColumn.EditorStyle>
                           <Style TargetType="TextBox">
                               <Setter Property="Background" Value="Green"></Setter>
                           </Style>
                       </telerik:GridViewDataColumn.EditorStyle>
                   </telerik:GridViewDataColumn>
    The default editor is a TextBox. If you have some other editors, you need to target them in order to apply the modification. 

    Regards,
    Stefan Nenchev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top