title: Numeric and Conditional Formatting with rhandsontable
body: <p>I'm finding that I can either numerically format the rhandonstable or conditionally format the style of the rhandsontable, but not both. Using the following code, it seems that only the javascript portion of the code is being used. I'd greatly appreciate any help to incorporate both formatting types.</p>
  
  <pre><code>DF = data.frame(int = 1:10, float = rnorm(10), cur = rnorm(10) * 1E5,
                  lrg = rnorm(10) * 1E8, pct = rnorm(10))
  
  rhandsontable(DF, width = 550, height = 300) %&gt;%
    hot_cols(renderer = "
             function (instance, td, row, col, prop, value, cellProperties) {
               Handsontable.renderers.TextRenderer.apply(this, arguments);
              if (row == 2){
                td.style.background = 'lightyellow';
             }}") %&gt;%
    hot_col("float", format = "0.0") %&gt;%
    hot_col("cur", format = "$0,0.00") %&gt;%
    hot_col("lrg", format = "0a") %&gt;%
    hot_col("pct", format = "0%")
  </code></pre>