title: Disable/Enable the checkbox in kendo grid based on column Value
body: <p>I have a kendogrid all working good, now I got new requirement i.e. last column i have checkbox and just to that previous column I have a status column,</p>
  
  <p>if that text value is "CERTIFIED" only then that specific row checkbox should be enabled, if the text is not 'CERTIFIED' it should disable the checkbox of that row,and should not allow to check that checkbox using jquery,  I have attached pic of kendogrid I have, which might help for any suggestions</p>
  
  <p><strong>CODE</strong></p>
  
  <p><strong>THESE ARE MY COLUMNS OF MY KENDO GRID</strong></p>
  
  <pre><code>, columns: [
              { field: "ResultFormatID", Title: "ResultFormatID", filterable: false, sortable: false, hidden: true },
              { field: "ID", Title: "ID", filterable: false, sortable: false, hidden: true },
              { field: "RowID", Title: "RowID", filterable: false, sortable: false, hidden: true },
              { field: "BillNumber", Title: "Bill Number", filterable: false, sortable: false, hidden: true },
              { field: "ServiceName", Title: "Service Name", width: 600 },
              { field: "Status", Title: "Service Status", width: 150 }
               , {
                 template: $("#template").html(),
                 headerTemplate: '&lt;label&gt;  &lt;input type="checkbox" id="checkAll"/&gt;Download&lt;/label&gt;', filterable: false, sortable: false, width: 100,
             }
           ]
  </code></pre>
  
  <p><strong>THIS IS MY INDIVIDUAL ROW CHECKBOX</strong></p>
  
  <pre><code>&lt;script id="template" type="text/kendo-template"&gt;
     #if(ResultFormatID != 3) { #   
     &lt;input type="checkbox" #= data.Action ? checked="checked" : "" #  class=\"check_row\"/&gt;
     # } else { #
  &lt;input type="button" class="k-button info" name="info" value="Preview" /&gt;
     # } #
  </code></pre>
  
  <p></p>
  
  <p><strong>UPDATED</strong></p>
  
  <p><strong>THIS IS MY CHECKALL FUNCTION</strong>(and what i did to uncheck)</p>
  
  <pre><code> $("#checkAll").on('click', function (e) {
           debugger;
  
          var $cb = $(this);
          var checked = $cb.is(':checked');
          var grid = $('.Grid_table').data('kendoGrid');
  
          grid.table.find("tr").find("td:last input").attr("checked", checked);           
  
  
          var items = $(".Grid_table").data("kendoGrid").dataSource.data();
          for (i = 0; i &lt; items.length; i++) {
              var item = items[i];
         var status = item.ServiceStatus;
  
              if (status == "Result Certified ") {
                grid.table.find("tr").find("td:last input").attr("checked", checked);
              }
              else {
  
                  grid.table.find("tr").find("td:last input").prop("checked",false);
              }
       if (!checked) {
              // debugger;
              $(".Grid_table").data("kendoGrid").clearSelection();
          }
  
      });
  
  });
  </code></pre>
  
  <p><strong>UPDATE 2</strong></p>
  
  <p>now as per your code, everything works fine and I am able to uncheck the not certified row, i am facing a problem with below code, if atleast single checkbox is not checked it disabled the button which is used to download the PDF file, now if i select all checkbox and clicked on that button download, it is disabled now!! but if i uncheck any one row out of like 10 rows, then download enables and used to download the file.</p>
  
  <p>if I disable the last 3 lines  of below code, it helps in enabling the button to click, but i need to unselect atleast single check box to work, if not it will disabled, what am i doing wrong ??</p>
  
  <pre><code> $(function () {
           //debugger;            
          var checkboxes = $(':checkbox:not(#checkAll)').click(function (event) {
              $('#btn_Print').prop("disabled", checkboxes.filter(':checked').length == 0);
          });
          $('#checkAll').click(function (event) {
              checkboxes.prop('checked', this.checked);
              $('#btn_Print').prop("disabled", !this.checked)
          });
      });
  </code></pre>
  
  <p>IF </p>
  
  <p><img src="https://i.stack.imgur.com/SpFNt.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/73cSV.jpg" alt="enter image description here"></p>