I have this radgrid that otherwise works as expected.
For the first time I've tried using a footer with aggregate functions. I really only care about Sum of the last column, but when that didn't work I tried different agg functions on each column as you can see below and they all have the same result, which is to display "Sum : " in the footer (or whatever agg function I selected).
I'm using a datasource that is a list of business objects. The property ValueChange is a reaonly Decimal.
Below is my mark up and I'm attaching a screen shot.
Can you think of why this might not work?
For the first time I've tried using a footer with aggregate functions. I really only care about Sum of the last column, but when that didn't work I tried different agg functions on each column as you can see below and they all have the same result, which is to display "Sum : " in the footer (or whatever agg function I selected).
I'm using a datasource that is a list of business objects. The property ValueChange is a reaonly Decimal.
Below is my mark up and I'm attaching a screen shot.
Can you think of why this might not work?
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
AllowPaging
=
"True"
AllowSorting
=
"True"
AutoGenerateColumns
=
"False"
DataSourceID
=
"dsTransactionDetails"
GridLines
=
"None"
Skin
=
"WebBlue"
Width
=
"812px"
>
<
MasterTableView
DataSourceID
=
"dsTransactionDetails"
AllowCustomPaging
=
"True"
ShowFooter
=
"True"
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"PhaseCode"
HeaderText
=
"PhaseCode"
SortExpression
=
"PhaseCode"
UniqueName
=
"Phase Code"
Aggregate
=
"None"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"CategoryCode"
HeaderText
=
"CategoryCode"
SortExpression
=
"CategoryCode"
UniqueName
=
"Category Code"
Aggregate
=
"Count"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"OldValue"
DataType
=
"System.Decimal"
HeaderText
=
"Old Value"
SortExpression
=
"OldValue"
UniqueName
=
"OldValue"
Aggregate
=
"Min"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"NewValue"
DataType
=
"System.Decimal"
HeaderText
=
"New Value"
SortExpression
=
"NewValue"
UniqueName
=
"NewValue"
Aggregate
=
"Max"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"ValueChange"
DataType
=
"System.Decimal"
HeaderText
=
"Change"
SortExpression
=
"ValueChange"
UniqueName
=
"ValueChange"
Aggregate
=
"Sum"
>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>