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

Using CellTemplate for a group header

1 Answer 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
dloeffler
Top achievements
Rank 1
dloeffler asked on 19 Feb 2010, 07:23 AM
Hi,

I have the following problem: I have a GridViewDataColumn with a custom CellTemplate. This works OK for the display of the data. This template is also used in the filter popup for the column, but when I group by this column, then in the group header this template isn't used. Instead the ToString()-representation of the databound object is used.
Why is the custom CellTemplate is not used for the group header or which Template must be customized?

Thanks,

Dany

1 Answer, 1 is accepted

Sort by
0
Accepted
Kalin Milanov
Telerik team
answered on 19 Feb 2010, 11:24 AM
Hello Dany,

You can use GroupHeaderTemplate property to define your own DataTempalte for the group header.

Greetings,
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.
Tags
GridView
Asked by
dloeffler
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Share this question
or