This is a migrated thread and some comments may be shown as answers.

Cell Background when Editing

1 Answer 38 Views
GridView
This is a migrated thread and some comments may be shown as answers.
oburgaya
Top achievements
Rank 2
oburgaya asked on 13 Dec 2016, 11:24 AM

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!

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 15 Dec 2016, 08:48 AM
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.
Tags
GridView
Asked by
oburgaya
Top achievements
Rank 2
Answers by
Stefan Nenchev
Telerik team
Share this question
or