I am trying make the an editable grid to uneditable depend on conditions.
I have tried in jquery as below
var $grid = &(\"#gridName\").data(\"ken
for(i=0;i<=$("#grid").find("tbody tr").length ; i++)
{
var model = $("#grid").data("kendoGrid").dataSource.at(i);
if(model)
{
model.fields[$("#grid").data("kendoGrid").columns[i].field].editable = false;
}
}
http://jsfiddle.net/parthiv89/qwtyLmhk/
I hope this works well..if works then don't forget to vote me..