This is a migrated thread and some comments may be shown as answers.

Change Boolean filter operator text from (all)/true/false to All/Yes/No

2 Answers 1964 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 27 Jan 2021, 09:57 PM
I have a Boolean column in my grid and I'm using cellRender to change the default true/false to Yes/No. How do I change the text displayed in the dropdown list of filtering options from (all), true, and false to All, Yes, and No?

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 28 Jan 2021, 03:46 PM

Hello, Steve,

This will require a custom filter cell to render a DropDownList that will match the data:

https://www.telerik.com/kendo-react-ui/components/grid/filtering/#toc-custom-filter-cells

I hope the example proves helpful.

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Steve
Top achievements
Rank 1
answered on 28 Jan 2021, 10:59 PM
That worked well. I visited that page before but somehow missed that particular example. Thank you for your prompt support.
Tags
General Discussions
Asked by
Steve
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Steve
Top achievements
Rank 1
Share this question
or