title: Save slickgrid cell autocomplete value
body: <p>I have a slickgrid cell with an autocompletion and a custom formatter. The cell value is a key field of dynamically loading autocompletion list. The list is shown as labels (e.g. <code>Contract: ABCDEF-123, thick:10, width:210, City: Chicago</code>) and when I select one it appears in the according input field. The point is that the formatter does not know that label, it only knows the key (order_id).</p>
  <pre><code>function contractFormatter(row, cell, value, columnDef, dataContext) {               
      var res = '';  
      var val = get_contract_list()[value] ? get_contract_list()[value]['label'] : '';
      res = '&lt;span class=&quot;' + getSpanClass() + '&quot; style=&quot;float: left;&quot;&gt;&lt;/span&gt;\n\
             '+ (val =='' ? '&lt;span style=&quot;color:slategrey;&quot;&gt;  Enter 3 symbols &lt;/span&gt;' + val : val) + '';
      return res;
  }
  </code></pre>
  <p>The function <code>get_contract_list</code> returns the whole list of contracts and it is very big, so it was decided to make that list dynamic. So the function is empty now and it would be nice just to take the selected label into <code>val</code>.</p>
  <p>Is there any way to achieve it?</p>