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

Grouping does not disappear after closing the column header from the grouping area

Thread ID:

Created:

Updated:

Platform:

Replies:

140997 Nov 18,2018 08:19 AM UTC Nov 21,2018 09:43 AM UTC WinForms 5
loading
Tags: GridGroupingControl
Cosyspro
Asked On November 18, 2018 08:19 AM UTC

Hello dear Sir,
You find images attached to this message showing the problem with regrouping by column.
So, after close the header column's button in grouping area, Grouping in the Grid Grouping Control does not disappear.
Best Regards

Attachment: images_a0fd1961.zip

Arulraj A [Syncfusion]
Replied On November 19, 2018 06:28 AM UTC

Hi Cosyspro, 

Thanks for using Syncfusion product. 

We have tried to reproduce your reported scenario using below attached sample in our latest(16.3.0.29) and previous product version(16.3.0.21) but the sample is working fine as we expected. We suspect that this issue may occur based on your customization so, if it is possible please provide all the grid related customization from your application or let us know the below attached sample differ from your customization. 


Arulraj A 


Cosyspro
Replied On November 19, 2018 11:31 AM UTC

Thank you for your response.
I seen your example and I resolved the problem which is caused by ChildGroupOptions.ShowFilterBar parameter :

            //Filter bar
            GGCElements.TopLevelGroupOptions.ShowFilterBar = true;
            GGCElements.NestedTableGroupOptions.ShowFilterBar = true;
            //GGCElements.ChildGroupOptions.ShowFilterBar = true;
            GridDynamicFilter dynamicFilter = new GridDynamicFilter();
            dynamicFilter.WireGrid(GGCElements);
Another question please:
How to translate the text (Starts with, equals, less, etc.) in contextual menu of the filter bar

Regards

Arulraj A [Syncfusion]
Replied On November 19, 2018 12:05 PM UTC

Hi Cosyspro, 

Thanks for the update. 

We are glad to hear that the reported problem has been resolved at your end. You can localize the text (StartsWith, Equals,  etc.) in contextual menu of the filter bar by creating a class file and add ILocalizationProvider interface to the class. Assign the required content to be displayed to DynamicFilterResourceIdentifiers. Following sample links explains the same. 

public string GetLocalizedString(System.Globalization.CultureInfo culture, string name,object obj) 
        { 
            switch (name) 
            { 
                case DynamicFilterResourceIdentifiers.StartsWith: 
                    if (comparerList) 
                        return "empieza con"; 
                    else 
                        return "StartsWith"; 
                case DynamicFilterResourceIdentifiers.EndsWith: 
                    if (comparerList) 
                        return "termina con"; 
                    else 
                        return "EndsWith"; 
                                   … 
 

Installed sample path: {installed drive}:\Users\Public\Documents\Syncfusion\Windows\{version}\Grid.Grouping.Windows\Samples\Localization Samples\Localization Demo 


 
Please let us know if you need any further details on this. 

Arulraj A 


Cosyspro
Replied On November 21, 2018 08:09 AM UTC

Hi Arulraj A   
Thanks your for the response.
I can't translate Items word in Grid Grouping Control. Can you help me please ? See attached image.
Best regards.

Attachment: images_c1ccadf8.zip

Arulraj A [Syncfusion]
Replied On November 21, 2018 09:43 AM UTC

Hi Cosyspro, 

Thanks for the update. 

You can change the caption text by setting the TopLevelGroupOptions.CaptionText property value with the desired text. You can also change the caption text of the nested tables by using the NestedTableGroupOptions.CaptionText property. 

this.gridGroupingControl1.TopLevelGroupOptions.CaptionText = " {RecordCount} Artículos"; 


Please let us know if you need any further details on this. 

Arulraj A 


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.

Please sign in to access our forum

This page will automatically be redirected to the 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

;