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.
Syncfusion Feedback

filter bar cell binding enum type

Thread ID:





95878 Aug 6,2010 08:15 AM UTC Aug 10,2010 12:45 PM UTC Windows Forms 1
Tags: GridControl
Asked On August 6, 2010 08:15 AM UTC

I have a filterbarcell and it is bound to a Enum type. However, when I change the filter cell value, it displays the enum integer instead of enum value. i.e. it displays 1 instead of ONE.
Enum type: ONE=1.
Is it possible to have filterbarcell bound to a enum type and displays value instead of integer always?


Nirmal Raja [Syncfusion]
Replied On August 10, 2010 12:45 PM UTC


Thank you for your interest in Syncfusion products.

By default the enum column type will have the index in the filter bar as it is represented as a value. In order to have the display text in the filter drop down you need to work around with the following events such as QueryFilterBarChoices, QueryRecordMeetsFilterCriteria and TableControlCurrentCellCloseDropDown.

Please refer the sample attached in the below location:

Let me know if you have any queries.



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.

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