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. Image for the cookie policy date

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

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

5 Replies

AA Arulraj A Syncfusion Team 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 



CO Cosyspro 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


AA Arulraj A Syncfusion Team 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 



CO Cosyspro 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


AA Arulraj A Syncfusion Team 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 


Loader.
Live Chat Icon For mobile
Up arrow icon