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

Kendo grid inline edit hide cells based on dropdown value

2 Answers 882 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jaanus
Top achievements
Rank 1
Jaanus asked on 10 Jan 2018, 12:55 PM

I have dropdown value and if there is value X, I want the next cell to be not editable or even better if hidden. Like shown in picture y.png.

If  there is value Y, i want the next cell to be editable. Like shown in picture x.png.

 

 

How can I achieve this? 

2 Answers, 1 is accepted

Sort by
0
Jaanus
Top achievements
Rank 1
answered on 11 Jan 2018, 02:41 PM

https://dojo.telerik.com/Upoya

This can be used as template. It has cascading dropdown in 3rd column. I want to do something similar, but hide the third column. And it is not important that 3rd column is Dropdown, it could be text field. I just wanna hide the input.

 

0
Georgi
Telerik team
answered on 12 Jan 2018, 07:13 AM
Hello Jaanus,

Thank you for the provided sample.

A possible solution is to hide the editor of the next cell within the change event handler of the first drop down.

Below you will find a modified version of the provided sample which applies the above solution:



Regards,
Georgi
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Jaanus
Top achievements
Rank 1
Answers by
Jaanus
Top achievements
Rank 1
Georgi
Telerik team
Share this question
or