Current filter:
                                You should refresh the page.
                                  • Hello Dear Team
                                    I create a TotalSummary in my GridControl

                                    [XAML]
                                    <dxg:GridControl.TotalSummary> <dxg:GridSummaryItem FieldName="BK_CUR_NOM" SummaryType="Sum" DisplayFormat="###,###,###,###,##0.0############" /> <dxg:GridSummaryItem FieldName="EX_CUR_NOM" SummaryType="Sum" DisplayFormat="###,###,###,###,##0.0############" /> <dxg:GridSummaryItem FieldName="RC_NOM" SummaryType="Sum" DisplayFormat="###,###,###,###,##0.0############" /> <dxg:GridSummaryItem FieldName="BK_EUR_NOM" SummaryType="Sum" DisplayFormat="###,###,###,###,##0.0############" /> <dxg:GridSummaryItem FieldName="EX_EUR_NOM" SummaryType="Sum" DisplayFormat="###,###,###,###,##0.0############" /> <dxg:GridSummaryItem FieldName="RC_NOM_EUR" SummaryType="Sum" DisplayFormat="###,###,###,###,##0.0############" /> <dxg:GridSummaryItem FieldName="BK_CSA_EUR" SummaryType="Sum" DisplayFormat="###,###,###,###,##0.0############" /> <dxg:GridSummaryItem FieldName="RC_CSA_EUR" SummaryType="Sum" DisplayFormat="###,###,###,###,##0.0############" /> </dxg:GridControl.TotalSummary>

                                    I want to bind its value to some other "TextBlock". I created the TextBlock with using code :

                                    [XAML]
                                    <TextBlock Foreground="White" FontSize="12" Width="300" HorizontalAlignment="Center" Text="{Binding Path=TotalSummary[0], ElementName=reconciliationGrid}" />

                                    But it doesn't work, because i can just get a GridSummaryItem, and GridSummaryItem doesn't provide real value of a sum of column.
                                    I have to post this issue with Priority, thanks for your comprehension

                                1 Solution

                                Creation Date Importance Sort by

                                Hi François-Xavier,
                                If my understanding of you task is correct, you can obtain the current total summary text from a corresponding column directly:

                                [XAML]
                                <TextBlock Margin="5" Text="{Binding Path=Columns[Age].TotalSummaryText, ElementName=grid}" />

                                I've created a small sample project to demonstrate this approach. You will find it in the attachment. Please review the sample project and let us know whether or not it suits your needs.
                                Thanks,
                                Dmitry

                                • François-Xavier BAZANTAY 03.19.2012

                                  Thanks a lot. This is what i need :)

                                • Dmitry (DevExpress Support) 03.19.2012

                                  You are welcome. I'm glad to hear that my assistance was helpful :)

                                • Vinay 05.30.2012

                                  Hi Dmity,

                                  My columns are not known thru xaml (not static), but are dynamic and known at run time.

                                  How do I bind to a summary item like above when the columns are dynamic?

                                  Thanks
                                  Sean

                                • Dmitry (DevExpress Support) 05.31.2012

                                  Hi Sean,
                                  I have created a new ticket regarding your last inquiry in order not to mix discussions on different subjects in one ticket and avoid misunderstanding: ID Q285169 How to bing to the column's total summary value when colum is not predefined in xaml