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

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

1 Answer 674 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sajid Ali
Top achievements
Rank 2
Sajid Ali asked on 02 Jun 2014, 09:32 AM
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?

1 Answer, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 04 Jun 2014, 08:22 AM
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):

Regards,
Vladimir Iliev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Sajid Ali
Top achievements
Rank 2
Answers by
Vladimir Iliev
Telerik team
Share this question
or