Hello,
I'm having troubles with the aggregate functions. On the examples that I have found when you group a column the collapsed row has whatever caption is on the GroupFooters and they seem to be left justified.
on the one I'm working with they display but they seem to be pushed to the right. I can't seem to find a way to position them to the left.
After grouping the type column i get somthing like
1503 | Count: 56 | Sum: $1,978.1 and the rest is cut off
Thanks much,
~Boots
I'm having troubles with the aggregate functions. On the examples that I have found when you group a column the collapsed row has whatever caption is on the GroupFooters and they seem to be left justified.
on the one I'm working with they display but they seem to be pushed to the right. I can't seem to find a way to position them to the left.
<telerik:RadGridView |
Name="rgv" |
Grid.Row="1" |
Margin="10,5,10,5" |
telerik:StyleManager.Theme="Office_Blue" |
ShowColumnFooters="True" |
ShowGroupFooters="True" |
IsReadOnly="True" |
AutoGenerateColumns="False" |
ColumnsWidthMode="Auto" |
ItemsSource="{Binding Source={StaticResource DataProvider}}"> |
<telerik:RadGridView.Columns> |
<telerik:GridViewDataColumn Header="ID" DataMemberPath="ID" > |
<telerik:GridViewColumn.AggregateFunctions> |
<telerik:CountFunction Caption="Count:" /> |
</telerik:GridViewColumn.AggregateFunctions> |
</telerik:GridViewDataColumn> |
<telerik:GridViewDataColumn Header="Desc" DataMemberPath="Desc" /> |
<telerik:GridViewDataColumn Header="Purchase Date" DataMemberPath="Purch_Date" DataFormatString="{}{d}" /> |
<telerik:GridViewDataColumn Header="Purchase Price" DataMemberPath="Purch_Price" DataFormatString="{}{0:c}" > |
<telerik:GridViewColumn.AggregateFunctions> |
<telerik:SumFunction Caption="Sum:" ResultFormatString="{}{0:c}" SourceField="Purch_Price" /> |
</telerik:GridViewColumn.AggregateFunctions> |
</telerik:GridViewDataColumn> |
<telerik:GridViewDataColumn Header="Disposal Date" DataMemberPath="Disp_Date" DataFormatString="{}{d}" /> |
<telerik:GridViewDataColumn Header="Disposal Price" DataMemberPath="Disp_Price" > |
<telerik:GridViewColumn.AggregateFunctions> |
<telerik:SumFunction Caption="Disp Sum:" ResultFormatString="{}{0:c}" SourceField="Disp_Price" /> |
</telerik:GridViewColumn.AggregateFunctions> |
</telerik:GridViewDataColumn> |
<telerik:GridViewDataColumn Header="Type" DataMemberPath="Type" /> |
<telerik:GridViewDataColumn Header="Tax" DataMemberPath="Tax" /> |
<telerik:GridViewDataColumn Header="Status" DataMemberPath="Status" /> |
<telerik:GridViewDataColumn Header="Property Type" DataMemberPath="Property_Type" /> |
</telerik:RadGridView.Columns> |
</telerik:RadGridView> |
After grouping the type column i get somthing like
1503 | Count: 56 | Sum: $1,978.1 and the rest is cut off
Thanks much,
~Boots