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

How do I style this part of the group?

3 Answers 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 15 Jan 2016, 01:12 PM

The areas circled in red in the attached png.  I am having a tough time finding them in the templates and styles.  Any hints would be appreciated.

 

Paul

3 Answers, 1 is accepted

Sort by
0
Paul
Top achievements
Rank 1
answered on 15 Jan 2016, 05:53 PM

I think this is the answer, but would appreciate someone who truly knows responding.

Add the following style to your resources, scoped of course to the RadGrid where you need it.

<Style TargetType="telerik:GridViewIndentCell"  BasedOn="{StaticResource GridViewIndentCellStyle}"> 

      <Setter Property="Background"  Value="Red or color of your choice" />

</Style>

0
Ivan Ivanov
Telerik team
answered on 20 Jan 2016, 12:59 PM
Hi Paul,

You are right. The element that should be targetted is GridViewIndentCell, and it should be based on the theme's style for the same element if you want to keep the default look. Here is an article that provides some more extensive info on the different types of indents in RadGridView.

Regards,
Ivan Ivanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Paul
Top achievements
Rank 1
answered on 20 Jan 2016, 01:05 PM

Thank you.  Those are buried deep in the templates and fun to find.

 

Paul

Tags
GridView
Asked by
Paul
Top achievements
Rank 1
Answers by
Paul
Top achievements
Rank 1
Ivan Ivanov
Telerik team
Share this question
or