title: Making read-Only rows using jQuery DataTable Grid
body: <p>I am using  <a href="http://www.datatables.net" rel="nofollow">Jquery DataTable Grid</a>.
  Here I am Making cells edit as in :
  <a href="http://jquery-datatables-editable.googlecode.com/svn/trunk/events.html" rel="nofollow"> this Example</a>.</p>
  
  <p>Now If the column 'Engine version' has value "420", Then i want to make the whole row read-only.</p>
  
  <p>Please help me out.</p>
  
  <p>Edit:</p>
  
  <pre><code>  var oTable;
          $(document).ready(function () {
            oTable=  $('#example').dataTable({
                  "bProcessing": false,
                  "bJQueryUI": true,
                  "sAjaxSource": "GetWebAlerts.aspx",
                  "sPaginationType": "full_numbers",
                  "aLengthMenu": [ 10,25,50,100,200,500 ],
                   "fnDrawCallback": function (oSettings) {
                     if (oSettings.bSorted || oSettings.bFiltered) {
                      if (oSettings.aoColumns[1].bVisible == true) {
                          for (var i = 0, iLen = oSettings.aiDisplay.length; i &lt; iLen; i++) {
                              $('td:eq(0)', oSettings.aoData[oSettings.aiDisplay[i]].nTr).html(i + 1);
                          }
                      }
                  }
              },
                  "aaSorting": [[3, "desc"]],
                  aoColumns: [
                   { "bVisible": false, "bSortable": false, "aTargets": [0] },
                 {"sClass" : "left", "bVisible": true, "bSortable": false, "aTargets": [1] },
                   { "bVisible": true, "bSortable": true, "aTargets": [2] },
                   { "bVisible": true, "bSortable": true, "aTargets": [3] },
                   { "bVisible": true, "sType": "num-html","bSortable": false,
                      "fnRender": function (oData, sVal) {
  
                          if (sVal.indexOf("OVERSPEED") &gt;= 0) {                            
                         return "&lt;span title='Overspeed = " +  oData.aData[8] + " KM/H'&gt;" + sVal + "(" + oData.aData[8] +" KM/H)&lt;/span&gt;";                                                        
                         }
                          else if (sVal.indexOf("IDLING") &gt;= 0) {
                              return "&lt;span title='Idling from = " + oData.aData[8].split(";")[0] + " For "+ oData.aData[8].split(";")[1] + " Mins'&gt;" + sVal + "("+ oData.aData[8].split(";")[1]+  " Mins)&lt;/span&gt;";
                              }
                           else if(sVal.indexOf("Geofence In") &gt;= 0)
                           {
                              return "&lt;span&gt;" + oData.aData[8] + "- IN&lt;/span&gt;";
                           }
                            else if(sVal.indexOf("Geofence out") &gt;= 0)
                           {
                              return "&lt;span&gt;" + oData.aData[8] + "- OUT&lt;/span&gt;";
                           }
                          else { 
  
                          return sVal;                              
                           }
                      }, "aTargets": [4], "asSorting": ["desc", "asc"] },
  
                 { "bVisible": true, "bSortable": true, "aTargets": [5] },
                   { "bVisible": true, "bSortable": true, "aTargets": [6] },
                     { "bVisible": true, "bSortable": true, "aTargets": [7] }
  
                       ]
  
                   }).makeEditable({
                                      sUpdateURL: "UpdateWebData.aspx?i=0",
                                      "aoColumns": [
                                           null,
                                             null,
                                             null,
                                             null,
  
                                             {
                                               indicator: 'Saving reason...',
                                               tooltip: 'Click to select reason',
                                               loadtext: 'loading...',
                                               type: 'select',
                                               onblur: 'submit',
                                               data: "{'1':'Accident','2':'Battery Taken Out','3':'In Workshop','4':'Not In Operation','5':'Signal Lost','6':'Other'}"                                                
  
                                             },
  
  
                                             {
  
                                             },
                                              null
                                       ],
                                         sDeleteURL: "UpdateWebData.aspx?i=1",
                                         oDeleteRowButtonOptions: {   label: "Remove", 
                                                  icons: {primary:'ui-icon-trash'}
                                      },
  
                                  });
                             });
  </code></pre>
  
  <p>This is my code.. I want to make readonly if the 5th number Json data from my page GetWebAlerts.aspx is "0".</p>