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

[Solved] Grid Grouping header caption changes

1 Answer 12 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ramesh
Top achievements
Rank 1
Ramesh asked on 14 Nov 2011, 09:46 PM

Hi Telerik,

I needed help on customizing  the grouping feature. Basically when I add a column for Grouping and it shows as  the format
ColumnName : ColumnValue

I was wondering if there is a way to specify my own display name for Column Name.

  .Groupable(settings => settings.Groups(groups => groups.Add(o => o.ElementName)))

Any help will be appreciated 

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 15 Nov 2011, 08:27 AM
Hello Ramesh,

You can customize the text of the group header by setting GroupHeaderTemplate and ClientGroupHeaderTemplate. Please refer to the following online demos for more details:

Ajax Aggregates
Server Aggregates

All the best,
Rosen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Ramesh
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or