This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to align the aggregated value to right but it looks like it's not possible. could you let me know how to achieve this?
Definition:
<telerik:RadGridView x:Name="ClientSeriesGrid" Grid.Row="1" ShowColumnFooters="True" ShowGroupFooters="True"
AutoGenerateColumns="False" IsReadOnly="True" CanUserFreezeColumns="True"
AlternateRowBackground="AliceBlue">
</telerik:RadGridView>
Column addition:
GridViewDataColumn gridColumn = new GridViewDataColumn { Header = date, CellStyle = DataCellRight };
gridColumn.DataMemberBinding = bin;
gridColumn.AggregateFunctions.Add(new SumFunction() { SourceField = string.Format("DataPoints[{0}]", date), ResultFormatString = "{0:#,##;(#,##);#,##}", SourceFieldType = Type.GetType("System.Double") });
TraderSeriesGrid.Columns.Add(gridColumn);
how do I specify alignment here?
I'm trying to align the aggregated value to right but it looks like it's not possible. could you let me know how to achieve this?
Definition:
<telerik:RadGridView x:Name="ClientSeriesGrid" Grid.Row="1" ShowColumnFooters="True" ShowGroupFooters="True"
AutoGenerateColumns="False" IsReadOnly="True" CanUserFreezeColumns="True"
AlternateRowBackground="AliceBlue">
</telerik:RadGridView>
Column addition:
GridViewDataColumn gridColumn = new GridViewDataColumn { Header = date, CellStyle = DataCellRight };
gridColumn.DataMemberBinding = bin;
gridColumn.AggregateFunctions.Add(new SumFunction() { SourceField = string.Format("DataPoints[{0}]", date), ResultFormatString = "{0:#,##;(#,##);#,##}", SourceFieldType = Type.GetType("System.Double") });
TraderSeriesGrid.Columns.Add(gridColumn);
how do I specify alignment here?