I have a kendoGrid initialized in cshtml. It uses ajax binding.
The grid model looks like { int id, int typeId, string name, string value }.
The grid has 2 columns Name and Value and Value is editable InCell. For now grid works well with using by default usual textbox as editor. I have to improve the grid to have possibility of using different controls in the "value" field depending of the value of "typeId". I tried to use custom EditorTemplate for that but I cannot find a way to pass typeId to the template (the column is bound to "value"). Is it possible to pass there an extra parameter from the grid model or reach it out from the template somehow?
Regards, Alexey
Here is the link to the same post on Stackoverflow:
https://stackoverflow.com/questions/47577527/using-different-controls-in-a-editable-column