title: Disable delete button on jQgrid based on certain user session data
body: <p>I would like to know if it's possible to hide the little trash can button if the user logged in has a certain category.</p>
  
  <p>The condition should be something like this, </p>
  
  <pre><code>&lt;?PHP IF(($_SESSION['usuarioSCB'] -&gt; categoria) != 'Administrativo de gestión interna'): ?&gt;
  </code></pre>
  
  <p>but I don't know where or how to put it in my grid code.</p>
  
  <p>Right now I have a standard <code>navGrid</code> also.</p>
  
  <pre><code>jQuery("#tab_contactos").jqGrid('navGrid','#list_contactos',{
       edit:true, 
       add:true, 
       del:true, 
       pdf:true, 
       refresh:false
     } 
  });
  </code></pre>
  
  <p>Thanks.</p>