title: JqGrid custom formatter with custom parameter
body: <p>I have a question about custom formatters.</p>
  
  <p>What I try to achieve is a currencyFormatter just for the amount with Locale sent by the server, when locale is not define or supported fall back to British English. 
  Something like this:</p>
  
  <pre><code>function currencyFmatter(cellvalue, options, rowdata) {
      return new Intl.NumberFormat([locale, "en-GB"], {minimumFractionDigits: 2, maximumFractionDigits: 2}).format(cellvalue);
  }
  </code></pre>
  
  <p>My problem is how to pass my variable locale to the formatter, I’m pretty sure it has to be a way to do it but right now I don’t see it.</p>
  
  <p>Thanks</p>