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

Hide Group Header

8 Answers 324 Views
GridView
This is a migrated thread and some comments may be shown as answers.
MiddleTommy
Top achievements
Rank 1
MiddleTommy asked on 16 Jun 2010, 05:08 PM
I want to know if there is a way to hide the group header when the group is expanded? Actually hide the whole group panel. Just show the rows in the group with the group footer.

8 Answers, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 18 Jun 2010, 01:28 PM
Hi TWT,

You can hide the group panel but setting the GroupPanelVisibility property of the grid to Collapsed. When you do that, however, you will loose the ability to group and ungroup via the UI and you will need to define your groups in XAML or code.

As for the group header - you will need to edit the template of the group row and hide the elements which you do not want to see. Also keep in mind that you will need to be extra careful when dealing with the Toggle button on the left as you can easily loose the ability to expand and collapse groups.

Let me know if you need any help with those two tasks.

All the best,
Kalin Milanov
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
0
tony
Top achievements
Rank 1
answered on 22 Dec 2010, 08:15 PM
Hi,

Is it possible to post the way of hiding the group via hiding elements? I'm trying to accomplish this but can't seem to hide it properly.

Thanks!
0
MiddleTommy
Top achievements
Rank 1
answered on 22 Dec 2010, 10:49 PM
You really need expression blend and start to edit the group templates and hide/unhide things untill you get it right. (thats what I did)
I wish they made it that easy to edit templates in VS 2010
0
Vanya Pavlova
Telerik team
answered on 23 Dec 2010, 04:03 PM
Hello Tony,

Can you please share with us more info about which elements you need to hide from GridViewGroupRow? If you want to predefine its behavior you need to edit the template of GridViewGroupRow and remove the desired elements. You can find more info on this matter here.

I will be glad If I can assist you further.


Regards,

Vanya Pavlova
the Telerik team

Browse the videos here>> to help you get started with RadControls for Silverlight
0
tony
Top achievements
Rank 1
answered on 23 Dec 2010, 04:26 PM
Hi,

I wish to hide the Group Header and Group Row indicator, I have attached a screenshot of the areas I wish to hide.

Thanks!
Tony
0
Vanya Pavlova
Telerik team
answered on 24 Dec 2010, 10:19 AM
Hi Tommy,

 
Thank you for the provided image. The parts circled in red form the GridViewGroupRow.
Do you really need to hide the whole GridViewGroupRow or maybe I am missing something? 
You can create a simple implicit style targeted at GridViewGroupRow, set its Visibility property to Collapsed, however you will get a blank space when you try to group the RadGridView.

Greetings,
Vanya Pavlova
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
jfkrueger
Top achievements
Rank 1
answered on 09 Jun 2011, 06:09 PM
I don't want to allow grouping and therefore want to hide the grouping header, but I don't see the GroupPanelVisibility property of the RadGridViewControl. Am I missing something?
0
jfkrueger
Top achievements
Rank 1
answered on 09 Jun 2011, 06:11 PM
Nevermind, found the ShowGroupPanel property.
Tags
GridView
Asked by
MiddleTommy
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
tony
Top achievements
Rank 1
MiddleTommy
Top achievements
Rank 1
Vanya Pavlova
Telerik team
jfkrueger
Top achievements
Rank 1
Share this question
or