Firstly, Thanks for the quick response.. and secondly, this logic only works on columns where [editable: true] . Infact even dataItem.set() also works on those columns where editable is set to true.
The columns that have editable set to false do not budge...(I am setting editable property in the model.)
Also,on another suggestion from telerik I set
editable: function (dataItem) {
return false;
}
in the model then there is invalid left-hand side assignment error.
fields["md" + mapdetailId + "rt" + resulttypeId] = {
editable: function (dataItem) {
return false;
}
};