I have a webpage that has a regular RadGrid with GridBoundColumns and GridNumericColumns.
During the excel export the formatting of my numerical data seems to get lost. Columns that appear on the grid on the page will look like:
123.43
0.00
The aspx for the regular RadGrid has code that another developer wrote that includes attributes:
EmptyDataText
DataFormatString
FooterAggregateFormatString
Here is what that looks like:
<telerik:GridNumericColumn DataField="revenue" EmptyDataText="0.00" HeaderText="Revenue" DataFormatString="{0:#,##0.00;(#,##0.00)}"<br> Groupable="false" UniqueName="revenue" Aggregate="Sum" FooterText=" " FooterAggregateFormatString="{0:#,##0.00;(#,##0.00)}"><br> <HeaderStyle HorizontalAlign="Center" /><br> <ItemStyle HorizontalAlign="Right" Wrap="false" /><br> <FooterStyle HorizontalAlign="Right" Wrap="false" /><br> </telerik:GridNumericColumn>
In the RadPivotGrid the similar column to above appears like so:
<telerik:PivotGridAggregateField DataField="actualValue" Aggregate="Sum"><br> <HeaderCellTemplate><br> <asp:Label ID="lblActualValue" Text="Actual" runat="server" /><br> </HeaderCellTemplate><br> </telerik:PivotGridAggregateField>So how can I add the attriutes I mentioned to the PivotGridAggregateField?
Thanks,
Julian