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

Current Cell Background Color

2 Answers 190 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Seppe
Top achievements
Rank 1
Seppe asked on 31 Mar 2014, 04:15 PM
Hello, I want to change the background color of my current selected cell in my RadGridView
Here is my code where I try to do that:

radGridView1.CurrentCell.BackColor = Color.Red;

But this only changes the color of the background  when the cell is selected or when the mouse hovers over the row of this cell.

2 Answers, 1 is accepted

Sort by
0
Seppe
Top achievements
Rank 1
answered on 31 Mar 2014, 05:20 PM
already found the solution. I just had to insert
 radGridView.CurrentCell.DrawFill = true;
0
Dimitar
Telerik team
answered on 02 Apr 2014, 11:55 AM
Hello Seppe,

Thank you for writing.

I am glad that you have found the solution for your case. Also please consider the following articles where you can find valuable information about grid styling:
Do not hesitate to contact us if you have other questions.

Regards,
Dimitar
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.

 
Tags
GridView
Asked by
Seppe
Top achievements
Rank 1
Answers by
Seppe
Top achievements
Rank 1
Dimitar
Telerik team
Share this question
or