I am trying to do the same thing but when I try the code provided I get this error in Blend and VS2012 at the following line
<syncfusion:GridDataSummaryRow.SummaryColumns>
Error: The Member SummaryColumns is not recognized or is not accessible
I just opened the included sample you created and that opens fine, however I have noticed that an extra property is visible in both blend and visual studio called SummaryColumns. Why is this property not visible in my project? I am using a GridDataControl and the latest version dll's
Hi Gareth,
Thank you
for your update.
We have
tested the reported issue in our sample but we are not able to replicate the
issue in our end. We suspect in this case you have use the Summary Columns
directly from GridDataSummary row. You have to use the Summary Columns like
below code snippet to meet your requirement.
Code Snippet[XAML]:
<syncfusion:GridDataControl.CaptionSummaryRow>
<syncfusion:GridDataSummaryRow ShowSummaryInRow="True" Title="Total Freight:
{FreightSummary} For {CountSummary} Items"
TitleColumnCount="2">
<syncfusion:GridDataSummaryRow.SummaryColumns>
<syncfusion:GridDataSummaryColumn Name="FreightSummary" MappingName="Freight" SummaryType="Int32Aggregate"
Format="'{Sum:c}'"
/>
<syncfusion:GridDataSummaryColumn Name="CountSummary" MappingName="OrderDate" SummaryType="CountAggregate"
Format="'{Count:d}'" />
</syncfusion:GridDataSummaryRow.SummaryColumns>
</syncfusion:GridDataSummaryRow> </syncfusion:GridDataControl.CaptionSummaryRow> |
For your
more information please refer the documentation from the following location.
Documentation Link: http://help.syncfusion.com/ug/wpf/grid/default.htm#!documents/groupsummaries.htm
Please let
us know if you have any questions.
Regards,
Rajasekar