Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
295
How to add contents of 2 fields to get "summary" in XAML code?
posted

I would like to know how to get the column summary in XAML code. I'm able to get the row summaries using the code mentioned in attachment or image.

<igDP:FieldLayout.SummaryDefinitions>
 <igDP:SummaryDefinition Key="Salary" SourceFieldName="salary" Calculator="Sum" StringFormat="{}Total={0:C}" />
 <igDP:SummaryDefinition Key="Bonus" SourceFieldName="bonus" Calculator="Sum" StringFormat="{}Total={0:C}" />
</igDP:FieldLayout.SummaryDefinitions>


But I do not know how to add contents from "Salary" and "Bonus" to get the TotalAmount in XAML code only without using code-behind . I'm using xamDataGrid.