Posted 29 May 2018, 10:55 am EST
Hi,
I am having value as symbol(*,+ etc) in column but in the filter i want to display text instead of symbol.
For example Instead of * =Multiple, + =add etc.
I am using flex grid version 4.6 .
Thanks in advance.
Forums Home / ComponentOne / WinForms Edition
Posted by: sourabhdwi on 29 May 2018, 10:55 am EST
Posted 29 May 2018, 10:55 am EST
Hi,
I am having value as symbol(*,+ etc) in column but in the filter i want to display text instead of symbol.
For example Instead of * =Multiple, + =add etc.
I am using flex grid version 4.6 .
Thanks in advance.
Posted 30 May 2018, 12:57 am EST
Hi Sourabh!
In order to achieve the desired behaviour, you can take advantage of custom filter. This can be done by creating two classes:
I suggest you to refer the sample “CustomFilters” in ComponentOne Samples at this location :
\Documents\ComponentOne Samples\WinForms\C1FlexGrid\CS\CustomFilters
This demonstrates you the way of creating custom filters.
Best regards,
Meenakshi
Posted 31 May 2018, 2:44 am EST
Thanks for the help Meenakshi.
Posted 1 June 2018, 10:57 am EST
Hi Meenakshi,
Can we set display text and value text on same column ?
Posted 4 June 2018, 1:45 am EST
Hi Sourabh!
Currently, for value text ‘*’, the corresponding display text is ‘Multiple’. So, can you please elaborate your requirement, telling me the desired outcome?
Also, you can let me know your use case so that I can suggest you something appropriate.
Thanks,
Meenakshi
Posted 3 July 2018, 3:44 am EST
Hi Meenakshi,
Problem has been resolved.
Thanks for the help.