Change the value of cell depending on the value of another cell

2 posts, 0 answers
  1. Sajid Ali
    Sajid Ali avatar
    12 posts
    Member since:
    Aug 2010

    Posted 02 Jun 2014 Link to this post

    I have a grid, That has 3 columns among which first column is combobox with options "List","boolean". My requirement is that when user select any value from combobox the template of second column based on this value should change. For example if user select "List" the second column convert to Combobox, if user select Boolean second column show checkbox in it.

    I need to regenerate the grid second column on any combobox selection event. Is this possible?
  2. Vladimir Iliev
    Vladimir Iliev avatar
    2190 posts

    Posted 04 Jun 2014 Link to this post

    Hi Sajid,

    The required behavior is not supported out of the box, however you can try creating custom editor templates which to load different editor based on another field from the model. For convenience I created small example which you can use as a baseline (the second column editor depends on the value of the first column):

    Vladimir Iliev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top