I would like to make cells in Kendo grid conditionally editable. For example, when Status column is 0, only then Value column should be editable. Here is what I tried:
{ field: "Quantity",
title: "Value",
width: "100px",
template: '#= kendo.toString(Quantity, "n2")# #=UnitOfMeasure#',
attributes: {style: "text-align: right;"},
**editable:"#if(Status == '0') {#true#} else{#false#}#",**
},
but it doesn't work. Does anyone have a clue? Thank you