title: Disable editing in kendo grid
body: <p>I am trying make the an editable grid to uneditable depend on conditions.</p>
  
  <p>I have tried in jquery as below</p>
  
  <pre><code>var $grid = &amp;("#gridName").data("kendogrid");
  Var model = $grid.datasource.at(1);
  if(model)
    model.field["cell"].editable = false;
  </code></pre>
  
  <p>but here the 'model' is getting undefined.</p>
  
  <p>also tried $grid.data() and then looping through the grid, but the cells are not getting uneditable they are still editable.</p>
  
  <p>Can anyone please let me know how can I make this work.</p>