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.
Unfortunately, activation email could not send to your email. Please try again.

Displaying GroupCaptionText and InColumnGroupCustomSummary

Thread ID:

Created:

Updated:

Platform:

Replies:

108192 Apr 8,2013 05:28 PM Dec 9,2016 04:17 AM WinRT 9
loading
Tags: SfDataGrid
bhavani sangannagari
Asked On April 8, 2013 05:28 PM

Hi,

When the SfDataGrid is showing groups, I need to display GroupCaption, and also custom caption summary inline the corresponding column. Please advise how  to display both GroupCaption and Column Summary on same caption summary line with GroupCaption in the beginning and column summary in corresponding column. 

I was able to get groupcaption using GroupCaptionTextFormat=" {Key}"
and was able to get inline custom caption summary using <sfusion: GridSummaryRow ShowSummaryInRow="False" TitleColumnCount="2" Title=" {GroupTotalSummaryColumn}". 

However i am not able to display both at same time on a GroupCaptionSummaryRow. Please advice

Thanks


Riyaj Ahamed I [Syncfusion]
Replied On April 9, 2013 05:29 AM

Hi Bhavani,

 

Thank you for contacting Syncfusion support.

 

We have analyzed your query and we regret to say that as of now we do not have the support to display the GroupCaptionText and GroupCaptionSummary at the same time. You can only display either GroupCaptionText or GroupCaptionSummary at the time. However instead of that you can use column based Group summaries, so that you can display GroupCaptionText and summary of the group at the same time.

 

To know more about the Group Summaries please refer the following link,

 

UG link: http://help.syncfusion.com/UG/winrt/default.htm#!Documents/groupsummaries.htm

 

Please let us know if you need further assistance.

 

Regards,

Riyaj Ahamed I

bhavani sangannagari
Replied On April 9, 2013 10:23 AM

When the groups are collapsed, I would like to see column summary along the group name. Expanding a group to see the custom summary, defeats the purpose of  allowing groups to collapse. 

Please let me know if this will be supported in any of your future releases.

Riyaj Ahamed I [Syncfusion]
Replied On April 11, 2013 01:44 AM

Hi Bhavani,

 

Thanks for your update.

 

As of now we do not have direct support for this requirement. However, you can display the GroupCaption and Inline Caption summary at the same time by applying the Custom style for GridCaptionSummaryCell with Converter. The following code snippet illustrates the custom style for GridCaptionSummaryCell,

 

[XAML]

 

  <Style TargetType="syncfusion:GridCaptionSummaryCell">

            <Setter Property="Template">

                <Setter.Value>

                    <ControlTemplate TargetType="syncfusion:GridCaptionSummaryCell">

                        <Border x:Name="PART_GridSummaryCellBorder"

                                Background="{TemplateBinding Background}"

                                BorderBrush="{TemplateBinding BorderBrush}"

                                BorderThickness="{TemplateBinding BorderThickness}">

                            <Grid VerticalAlignment="Center">

                                <Grid.ColumnDefinitions>

                                    <ColumnDefinition Width="188" />

                                    <ColumnDefinition Width="188" />

                                    <ColumnDefinition Width="188" />

                                    <ColumnDefinition Width="188" />

                                    <ColumnDefinition Width="188" />

                                    <ColumnDefinition Width="188" />

                                    <ColumnDefinition Width="188" />

                                </Grid.ColumnDefinitions>

                                <TextBlock Grid.Column="0"

                                           FontSize="16"

                                           Text="{Binding Path=DataContext,

                                                          Converter={StaticResource converter},

                                                          ConverterParameter=Caption,

                                                          RelativeSource={RelativeSource Mode=TemplatedParent}}" />

                                <TextBlock Grid.Column="3"

                                           FontSize="16"

                                           Text="{Binding Path=DataContext,

                                                          Converter={StaticResource converter},

                                                          ConverterParameter=Change,

                                                          RelativeSource={RelativeSource Mode=TemplatedParent}}" />

                                <TextBlock Grid.Column="5"

                                           FontSize="16"

                                           Text="{Binding Path=DataContext,

                                                          Converter={StaticResource converter},

                                                          ConverterParameter=Open,

                                                          RelativeSource={RelativeSource Mode=TemplatedParent}}" />

                            </Grid>

                        </Border>

                    </ControlTemplate>

                </Setter.Value>

            </Setter>

        </Style>

 

You can also check the sample for this requirement under the following location,

 

Sample: GridWithCaptionSummary.zip

 

Please let us know if you need further assistance.

 

Regards,

Riyaj Ahamed I


bhavani sangannagari
Replied On April 11, 2013 04:26 PM

Hi Riyaj

Thanks for reply.  Filtering by SfDataGrid when Grouped is not working. To easily reproduce modified a file from your sample as enclosed. 

Please advice.

Thanks


MainPage.xaml.cs_739bcfab.zip

Prakash Selvaraj [Syncfusion]
Replied On April 12, 2013 03:10 AM

Hi Bhavani,

 

We are able to reproduce the issue. We have logged an issue report regarding this. The fix will be available in our next release which is expected to be rolled by mid of May 2013.

 

Please let us know if you need further assistance.

 

Regards,

Prakash S.


Alex Korotin
Replied On January 20, 2015 12:26 PM

Hi Bhavani,

 

We are able to reproduce the issue. We have logged an issue report regarding this. The fix will be available in our next release which is expected to be rolled by mid of May 2013.

 

Please let us know if you need further assistance.

 

Regards,

Prakash S.


Was this feature ever released  ? I have the same issue with SfGrid v.12.3400.0.36
I can only disply either Title or Column Summary, not both at the same time

Ashok N [Syncfusion]
Replied On January 21, 2015 11:27 PM

Hi Alex,

Query: Filtering issue


We have analyzed your query and the filtering issue has been fixed in our side, will you please conform on your side either  the filtering issue is fixed or not?

Query : Title and Column Summary displaying in same time

 We regret inform you that it is not possible to display the both Title and Column Summary in same time in our SfDataGrid because we have span all the cells in to single cell for displaying title.

Please let us know if you require further assistance.

Thanks,

Ashok.


Harald Betzler
Replied On December 8, 2016 10:37 AM

Hi,

I'm shocked, that you didn't realize this requirement within more than three years.

The "all-column-span" is the reason, why it didn't work. But this is not a valid reason to avoid improvements.

My question: could you please transform the sample GridWithCaptionSummary (provided on April 11, 2013) to WPF?

In my environment I'm not able to install Win8.1 or WinPhone support in Visual Studio.

Regards
Harald

Jai Ganesh S [Syncfusion]
Replied On December 9, 2016 04:17 AM

Hi Harald, 
We regret to inform you that, as of now we don’t have a direct support for showing GroupCaptionText and GroupCaptionSummary at the same time.  We already logged the feature request for this and this will be available in any of our upcoming release. Until then you can achieve this by using the work around and we have prepared a sample in WPF platform and please find it from below location, 
Regards, 
Jai Ganesh S 


CONFIRMATION

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.

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.

;