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

Kendo Grid Conditional Column Values

2 Answers 1148 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jiyo
Top achievements
Rank 2
Jiyo asked on 08 Nov 2019, 10:47 AM

Hiii, I'm using Kendo Grid to populate datas from api. And in my case i have a field called Active in my kendo column which has value Y/N. So my problem is i need to conditionally display the values like if the value is Y it should show Yes in my column and if its N it should show No.

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 08 Nov 2019, 10:51 AM

Hello, Jiyo,

This can be achieved with a custom column cell:

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

This is another example with Yes and No:

https://stackblitz.com/edit/react-1kqqmc?file=app/main.jsx

I hope this is helpful.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Jiyo
Top achievements
Rank 2
answered on 08 Nov 2019, 11:31 AM
Thanks!
Tags
General Discussions
Asked by
Jiyo
Top achievements
Rank 2
Answers by
Stefan
Telerik team
Jiyo
Top achievements
Rank 2
Share this question
or