Kendo grid inline edit hide cells based on dropdown value

3 posts, 0 answers
  1. Jaanus
    Jaanus avatar
    36 posts
    Member since:
    Oct 2014

    Posted 10 Jan 2018 Link to this post

    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. Jaanus
    Jaanus avatar
    36 posts
    Member since:
    Oct 2014

    Posted 11 Jan 2018 Link to this post

    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.

     

  3. Georgi
    Admin
    Georgi avatar
    574 posts

    Posted 12 Jan 2018 Link to this post

    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.
Back to Top