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

[Solved] How to change the group indent background...

1 Answer 279 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alexander Kotchkin
Top achievements
Rank 1
Alexander Kotchkin asked on 07 Oct 2010, 04:24 PM

In SynergyRadGridViewTemplate for target type telerik: RadGridView, when we group by any of the grid columns, the HierarchyBackground that is part of PART_MasterGridContainer reverts to the default theme color that is light(white), instead of dark(black).

Before dragging column header to group by, looks fine (See attchment "BeforeGrouping").
After Grouping (See attachment "AfterGrouping"),  note that there is a light column that is being added to indent the hierarchy of the specific group. We need to be able to change the color to darker shade to agree with our custom Synergy theme.

 


Any help would be appreciated.


1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 08 Oct 2010, 02:19 PM
Hi Jesus,

In RadGridView this part is called GridViewIndentCell, which appeares when you group data in your RadGridView or when it has hierarchical structure. If you want to change only the background of GridViewIndentCell create a simple implicit style and set its background property to the desired colour.
Attached is a sample solution that demonstrates how this can be achieved.

If you need any additional information please let me know.

Kind regards,
Vanya Pavlova
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Alexander Kotchkin
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or