title: How to prevent onSelectRow event when fires a ondblClickRow event
body: <p>I'm facing a problem with <code>jqGrid</code> and I don't know if has an easy solution.</p>
  
  <p>When I click on a row for the first time the app <code>slideUp</code> a header with information about the register, if I click again the app <code>slideDown</code> this header. This work is coded in the <code>onSelectRow</code> event of <code>jqGrid</code> and is working right.</p>
  
  <p>The problem comes after, when I double click in a row. In this case the app <code>slideUp</code> all the content about the register with the header included. The behaviour which I want to prevent is the <code>onSelectRow</code> because When the <code>ondblclickRow</code> event is fired, the <code>onSelectRow</code> event was fired two times before.</p>
  
  <p>this is the piece of my code:</p>
  
  <pre><code>ondblClickRow: function(id) {  
      if (model.gisgridmap.context.id=="griddiv" &amp;&amp; $(".editbt").length&gt;0) {                  
          if (model.selectedrow == id) {
              $el.trigger("onUnselectRow");   
              $(this).find(".ui-state-highlight, [aria-selected='true']").removeClass('ui-state-highlight');  
              model.selectedrow = 0;  
          }
          else{
              $el.trigger("onSelectRow", id);  
              $(this).find('[aria-selected=true]').addClass('ui-state-highlight');
              model.selectedrow = id;
  
              pui.editForm(model);
          } 
  },
  onSelectRow: function(id,status,e){
      if (model.selectedrow == id) {
          $el.trigger("onUnselectRow");   
          $(this).find(".ui-state-highlight, [aria-selected='true']").removeClass('ui-state-highlight');  
          model.selectedrow = 0;  
      }
      else{
          $el.trigger("onSelectRow", id);  
          $(this).find('[aria-selected=true]').addClass('ui-state-highlight');
          model.selectedrow = id;
      } 
  }
  </code></pre>
  
  <p>Thanks in advance.</p>