We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to create a summary row for for an indexer bound property

Thread ID:





131505 Jul 13,2017 03:29 PM UTC Jul 15,2017 05:51 PM UTC WPF 3
Tags: SfDataGrid
Jay Timmins
Asked On July 13, 2017 03:29 PM UTC

There is a small mention in the documentation but I'm not sure it's related to this:

If I have a column bound to an indexer property, can I not have a summary for that column?

Using the below definitions doesn't give me a summary:

//indexer bound column
<sf:GridNumericColumn MappingName="ListPriceByFrame[0]"/>
//summary column
 <sf:GridSummaryColumn Name="SubTot"
                                              Format="'Subtotal : {Sum:c}'"
                                              SummaryType="DoubleAggregate" />

Srinivasan Vasu [Syncfusion]
Replied On July 14, 2017 05:28 AM UTC

Hi Jay,
Thanks for contacting Syncfusion support. 

We have checked your query and we have prepared a sample as per your provided details. 
If the data operations are not working as expected while using indexer in the Underlying Collection, set GridColumn.UseBindingValue as true.  
Please refer the below code example 
                <Syncfusion:GridTextColumn MappingName="C1" 
                <Syncfusion:GridNumericColumn MappingName="C2" 
                <Syncfusion:GridNumericColumn MappingName="C3[0]" 
                <Syncfusion:GridSummaryRow ShowSummaryInRow="False"> 
                        <Syncfusion:GridSummaryColumn Name="PriceAmount" 
                                              Format="'Amount - {Sum:c}'" 
                                              SummaryType="DoubleAggregate" /> 
Please refer the below UG Link: 

Jay Timmins
Replied On July 14, 2017 08:48 AM UTC

Thanks for the thorough and informative reply!

Srinivasan Vasu [Syncfusion]
Replied On July 15, 2017 05:51 PM UTC

Hi Jay, 
Thanks for your update. 
Please let us know if you need further assistance on this. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon