title: Adding a function to jqGrid jQuery plugin
body: <p>I am trying to add a function named <code>rows</code> to the jqGrid jQuery plugin, but I can't determine the syntax.  Here are my non-working versions.</p>
  
  <pre><code>(function($) {
   $.fn.jgrid.rows = function(data) {
     // do something
   };
  });
  
  (function($) {
   $.fn.rows = function(data) {
     // do something
   };
  });
  
   $.jqgrid.fn.rows = function(data) {
     // do something
   };
  
   $.fn.rows = function(data) {
     // do something
   };
  </code></pre>
  
  <p>What would be the proper syntax?</p>
  
  <p>Thanks!</p>