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

Change "(All)" string to other text on filter bar

Thread ID:





131653 Jul 21,2017 09:18 AM UTC Jul 24,2017 11:18 AM UTC WinForms 1
Tags: GridGroupingControl
Le Lan
Asked On July 21, 2017 09:18 AM UTC


Can I change "(All)" to other text on filter bar of GridGroupingControl?


Arulpriya Ramalingam [Syncfusion]
Replied On July 24, 2017 11:18 AM UTC

Hi Le,  
Thanks for using Syncfusion products.  
Yes, the “(All)” text can be modified in filter dropdown by using the CustomFilterBarCelModel and using SelectAllText property. Please make use of below code and sample,  

#region CustomFilterBarCellModel  
public class CustomFilterBarCelModel : GridTableFilterBarCellModel  
    public CustomFilterBarCelModel(GridModel grid)  
        : base(grid)  
        //To change the "All" text  
        this.SelectAllText = "Sample";  
        //this.SelectCustomText = "Custom text";  
        //this.SelectEmptyText = "Some Text";  
//Registering and adding cell model to Grid  
this.gridGroupingControl1.TableModel.CellModels["CustomFilterBarCell"] =newCustomFilterBarCelModel(this.gridGroupingControl1.TableModel.Model);  
this.gridGroupingControl1.TableDescriptor.Appearance.FilterBarCell.CellType = "CustomFilterBarCell";  
Sample link: CustomFilterText   


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