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

Selected row highlighting off

8 Answers 268 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Thomas Derenthal
Top achievements
Rank 1
Thomas Derenthal asked on 02 Nov 2014, 02:41 PM
I do not want the selected row in a grid to turn dark. How do I turn that off?

8 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 03 Nov 2014, 10:19 AM
Hello,

I checked your account and it occurs that you have opened several forum threads for the same thing. It is highly recommended that you keep related questions in one support thread or a forum post, so that we can easily keep track of your support history and provide better answers in a shorter time.

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

 
0
Thomas Derenthal
Top achievements
Rank 1
answered on 03 Nov 2014, 11:53 AM
OK, then. I will do that. However, I still can't find a way to turn off the row highlighting. I don't think that this question is directly related to my other posts. 

In any case, can you tell me how to turn off highlighting for a selected row?
0
Pavlina
Telerik team
answered on 03 Nov 2014, 04:22 PM
Hi,

This question was answered in this forum thread:
http://www.telerik.com/forums/row-select-only-by-using-gridclientselectcolumn

Did you try the suggestion from the forum post pointed there?
http://www.telerik.com/forums/disable-highlight-row

In case it is not working please elaborate a bit more what happened after you add the CSS code provided by Shinu.

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

 
0
Thomas Derenthal
Top achievements
Rank 1
answered on 10 Nov 2014, 07:20 PM
This worked to prevent highlighting of  selected row - just what I needed. However, I have two grids - one parent, one child - I still need to have row highlighting in the parent. Is there a way to apply this no-highlighting style to only one grid - the child grid?
0
Pavlina
Telerik team
answered on 13 Nov 2014, 02:18 PM
Hi,

You can prevent highlighting of selected row in the child grid by setting custom CssClass
to the selected item of the nested Grid as shown below:

<SelectedItemStyle CssClass="selectedrow" />

div.RadGrid .selectedrow
{
    background-color: none;
    background: None;
}


This way the css code will not override the selected color of the parent grid.

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

 
0
Thomas Derenthal
Top achievements
Rank 1
answered on 13 Nov 2014, 11:47 PM
This works exactly as I need. Thank you.
0
Thomas Derenthal
Top achievements
Rank 1
answered on 13 Nov 2014, 11:53 PM
I spoke too soon. The highlighting works, but when I select a row in the lower grid by clicking the checkbox, the values in some columns disappear. See attached screenshots.
0
Pavlina
Telerik team
answered on 14 Nov 2014, 04:10 PM
Hi,

Can you confirm that you have not call DataBind() method anywhere in the code behind? If this is not the case we will need to replicate the problem locally in order to advice you how to resolve it.

Regards,
Pavlina
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
Grid
Asked by
Thomas Derenthal
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Thomas Derenthal
Top achievements
Rank 1
Share this question
or