title: conditional formatting from different column
body: <p>As shown in ext.net examples, <a href="http://examples1.ext.net/#/GridPanel/ArrayGrid/Simple/" rel="nofollow">this</a> is code to format a column-entry    </p>
  
  <pre><code>var template = '&lt;span style="color:{0};"&gt;{1}&lt;/span&gt;';
  
  var change = function (value) {
     return String.format(template, (value &gt; 0) ? "green" : "red", value);
  };
  </code></pre>
  
  <p>now my question is, i want to format column company likewise.</p>
  
  <pre><code>var company = function(value) {
     return String.format(template, (record.data.change &gt; 0) ? "green" : "red", value);
  }; 
  </code></pre>
  
  <p>this did not work as record will not be given to the function, also i failed to pass a parameter to Fn called on renderer</p>
  
  <pre><code>var company = function(value, change) {
     return String.format(template, (change &gt; 0) ? "green" : "red", value);
  }; 
  </code></pre>
  
  <p>i could also imagine a workaround with jquery, but that's just a whole bunch of work and selectors. and as i am quite new to ext.net / extjs i am sure i overlooked something</p>
  
  <p>P.S. yes i am using the older version of ext.net, thus the link is to examples1.ext.net ;)</p>