Hi..
Xamdatagrid is displaying summary details correctly.
But if want to display Perticular field summary like sum with out selctiing sigma button,its not displaying.
I think i write the code correctly.
I m sending tat code also..check it once please.
<igDP:XamDataGrid.FieldLayouts>
<
igDP:SummaryDefinition Key="idp_Count2" SourceFieldName="week2" Calculator="Sum" />
<igDP:Field Name="week2" Label="Week2" Visibility="Visible" >
</
igDP:Field>
</igDP:FieldLayout.SummaryDefinitions>
igDP:FieldLayout.Fields>
</igDP:FieldLayout>
Hello,
First, to see summaries you have to allow them like this:
<igDP:XamDataGrid.FieldSettings><igDP:FieldSettings AllowSummaries="True"/></igDP:XamDataGrid.FieldSettings>
In order to register a summary for a particular field you need to add it in the SummaryDefinitions collection:
<igDP:FieldLayout Key="FieldLayout1">
<igDP:FieldLayout.SummaryDefinitions>
<igDP:SummaryDefinition Key="idp_Count2" SourceFieldName="Week2" Calculator="Sum"/>
<igDP:FieldLayout.Fields...
</ fields>
</ field layout>
</ field layouts>
When you click on the Summary button, you should be able to select calculators and the summaries would be displayed properly.
If you still have problems with this matter, please attach a sample project that reproduces this issue and mention the dll versions you are using.
Regards,
Alex.