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

Grid Filter Language

Thread ID:

Created:

Updated:

Platform:

Replies:

141490 Dec 13,2018 10:24 PM UTC Dec 14,2018 06:45 AM UTC WinForms 1
loading
Tags: GridControl
Leandro
Asked On December 13, 2018 10:24 PM UTC

Hello, how do I change Grid filter strings for Portuguese?



Arulraj A [Syncfusion]
Replied On December 14, 2018 06:45 AM UTC

Hi Leandro, 

Thanks for using Syncfusion product. 

By default, GridControl does not have the support to filter the values. So, we suspect that you may use GridGroupingControl. To localize the filter strings in GridGroupingControl, you could implement the ILocalizationProvider interface and modify the strings based on your culture Portuguese using GetLocalizedString method. Please refer the following code example and our Dashboard sample 

C# 
//This should initialized before initializing the GridGroupingControl 
LocalizationProvider.Provider = new Localizer (); 
class Localizer : ILocalizationProvider 
{ 
    public void getstring() 
    { 
    } 
    public string GetLocalizedString(System.Globalization.CultureInfo culture, string name, object obj) 
    { 
        switch (name) 
        { 
            //Your localized string 
            case DynamicFilterResourceIdentifiers.StartsWith: 
                return "Começa com"; 
        } 
        return string.Empty; 
    } 
} 

Dashboard sample location: \Syncfusion\EssentialStudio\\Windows\Grid.Grouping.Windows\Samples\Localization Samples\Localization Demo\CS  
 
Please refer the below forum link, 
 
Please let us know if you need any further assistance 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

;