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

[Solved] Hiding grouping indicator column

1 Answer 114 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.
dh
Top achievements
Rank 1
dh asked on 25 Aug 2011, 11:32 PM
We have applied a background color to the HeaderRowStyle and have made all other columns transparent so that the background becomes visible.  When selecting a column to group by (in XAML in our case), a new column appears that uses the default black color.  Is there a way to prevent this column from appearing or to change its style?

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 26 Aug 2011, 08:04 AM
Hi Dh,

 
This part is GridViewHeaderIndentCell, which appeared when you perform grouping or when you have a hierarchical data structure in RadGridView. You may alter its appearance either by creating a simple style or by predefining its template using Blend. If you want to remove it you should edit the template of GridViewHeaderRow and delete the IndentPresenter which is responsible for displaying these cells.



All the best,
Vanya Pavlova
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
GridView
Asked by
dh
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or