I have a simple radgrid that has one GridColumnGroup that displays above 4 bound columns.
------------------------------
<ColumnGroups>
<telerik:GridColumnGroup HeaderText="Reporting Period" Name="ReportingPeriod"/>
</ColumnGroups>
<telerik:GridBoundColumn DataField="Numerator" HeaderText="Numerator" UniqueName="Numerator" ColumnGroupName="ReportingPeriod" />
That is all, there is no "grouping", etc. It is purely for display.
Is there a way to change the HeaderText of the GridColumnGroup dynamically? I cannot seem to be able to access it on itemdatabound, or any other way. I want to change the text to a "value", but there is no way to reference it? (to the reporting period dates dynamically)
Any help would be appreciated.
Thanks
------------------------------
<ColumnGroups>
<telerik:GridColumnGroup HeaderText="Reporting Period" Name="ReportingPeriod"/>
</ColumnGroups>
<telerik:GridBoundColumn DataField="Numerator" HeaderText="Numerator" UniqueName="Numerator" ColumnGroupName="ReportingPeriod" />
That is all, there is no "grouping", etc. It is purely for display.
Is there a way to change the HeaderText of the GridColumnGroup dynamically? I cannot seem to be able to access it on itemdatabound, or any other way. I want to change the text to a "value", but there is no way to reference it? (to the reporting period dates dynamically)
Any help would be appreciated.
Thanks