title: color row based on cell value in rhandsontable
body: <p>I am struggling to color full row of rhandsontable in my shiny app based on a cell value.</p>
  
  <p>In the following example, I would like to format full row instead of one cell.</p>
  
  <pre><code>library(rhandsontable)
  
  DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
                  small = letters[1:10],
                  dt = seq(from = Sys.Date(), by = "days", length.out = 10),
                  stringsAsFactors = FALSE)
  
  col_highlight = 2
  row_highlight = c(5, 7)
  
  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(value == 'F' | value == 'f') {
                 td.style.background = 'pink';
                 } else if(value == 'J' | value == 'j') {
                 td.style.background = 'lightgreen';
                 } else if(value == 'X' | value == 'x') {
                 td.style.background = 'lightblue'}
  
                 }")
  </code></pre>