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

Overwrite the "Grouped By" in GroupHeader

1 Answer 26 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 08 Oct 2010, 12:40 PM
Hello,

is it possible to overwrite the "Grouped by" text in the groupdescriptor header?
I've found no attribute for changing the text.

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 08 Oct 2010, 03:47 PM
Hello Markus,

You have two opprotunities to achieve desired result:

1.You can use localization and the resource you have to localize is GridViewGroupPanelTopTextGrouped.
If you want to read more about Localization, please see the following article.
2.The second one is to edit the template of the GridViewGroupPanel, find the panelTextGrouped, change its text and delete the LocalizationManager.ResourceKey that is set by default.

I am attaching a sample that demonstrates sample approach.

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
Markus
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or