This question is locked. New answers and comments are not allowed.
I have defined following grid:
When i run the code i have an empty grid (no rows displayed) and the groupfooter is empty.
When i remove the AggregateFunctions tag, the rows are displayed without problem.
What am i missing?
<
telerik:RadGridView
x:Name
=
"invoiceDetailGrid"
ItemsSource
=
"{Binding ElementName=invoiceDetailDomainDataSource, Path=DataView}"
AutoGenerateColumns
=
"False"
IsReadOnly
=
"False"
IsBusy
=
"{Binding IsBusy, ElementName=invoiceDetailDomainDataSource}"
CanUserDeleteRows
=
"True"
ShowInsertRow
=
"True"
ShowColumnFooters
=
"True"
Deleted
=
"CommitInvoiceDetailDeleted"
RowEditEnded
=
"CommitInvoiceDetailRowEditEnded"
BeginningEdit
=
"InvoiceDetailBeginningEdit"
ShowGroupPanel
=
"False"
Height
=
"250"
Width
=
"550"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Header
=
"Description"
UniqueName
=
"Description"
Width
=
"250"
IsReadOnly
=
"False"
></
telerik:GridViewDataColumn
>
<
telerik:GridViewMaskedTextBoxColumn
Header
=
"Price"
UniqueName
=
"Price"
Width
=
"80"
IsReadOnly
=
"False"
MaskType
=
"Numeric"
Mask
=
"g"
></
telerik:GridViewMaskedTextBoxColumn
>
<
telerik:GridViewMaskedTextBoxColumn
Header
=
"Quantity"
UniqueName
=
"Quantity"
Width
=
"80"
IsReadOnly
=
"False"
MaskType
=
"Numeric"
Mask
=
"g"
></
telerik:GridViewMaskedTextBoxColumn
>
<
telerik:GridViewExpressionColumn
Header
=
"Total"
UniqueName
=
"Total"
Width
=
"120"
IsReadOnly
=
"True"
Expression
=
"Price * Quantity"
>
<
telerik:GridViewExpressionColumn.AggregateFunctions
>
<
telerik:SumFunction
Caption
=
"Total:"
SourceField
=
"Total"
></
telerik:SumFunction
>
</
telerik:GridViewExpressionColumn.AggregateFunctions
>
</
telerik:GridViewExpressionColumn
>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
When i run the code i have an empty grid (no rows displayed) and the groupfooter is empty.
When i remove the AggregateFunctions tag, the rows are displayed without problem.
What am i missing?