Hi All,
I have a grid with drag to-group enabled. One of the columns is a template field. The data coming from the DB is a binary mask which I'm "translating" in code-behind to "human-readable" format.
Everything works, but when the grid is grouped by the template field, the group header (obviously) displays the raw data (the binary mask). Is there a way to modify the header display? There's an 'OnGroupsChanging' event, but I can't find the correct property to modify.
Thx in advance.
Rgds - M.
Template Field:
I have a grid with drag to-group enabled. One of the columns is a template field. The data coming from the DB is a binary mask which I'm "translating" in code-behind to "human-readable" format.
Everything works, but when the grid is grouped by the template field, the group header (obviously) displays the raw data (the binary mask). Is there a way to modify the header display? There's an 'OnGroupsChanging' event, but I can't find the correct property to modify.
Thx in advance.
Rgds - M.
Template Field:
<
telerik:GridTemplateColumn
SortExpression
=
"MATCH"
HeaderText
=
"Match"
HeaderButtonType
=
"TextButton"
UniqueName
=
"Match"
DataField
=
"MATCH"
GroupByExpression
=
"MATCH Group By MATCH"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblMatchColumn"
runat
=
"server"
Text='<%# GetMatchCodes(Eval("MATCH").ToString()) %>' />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>