title: Conditional styling a row, based on column value
body: <p>I would like to style row based on a value of a column, I currently have this code:</p>
  
  <pre><code>import dash
  import dash_table
  import pandas as pd
  
  df = pd.read_csv('https://raw.githubusercontent.com/plotly/datasets/master/solar.csv')
  
  app = dash.Dash(__name__)
  print([{"name": i, "id": i} for i in df.columns])
  app.layout = dash_table.DataTable(
      id='table',
      columns=[{"name": i, "id": i} for i in df.columns],
      data=df.to_dict("rows"),
      style_data_conditional=[
          {
          'if': {
                  'column_id': 'Number of Solar Plants',
                  'filter': '"Number of Solar Plants" &gt; num(100)'
              },
              'backgroundColor': '#3D9970',
              'color': 'white',
          }
      ],
  )
  
  if __name__ == '__main__':
      app.run_server(debug=True)
  </code></pre>
  
  <p>Which produces the following result:</p>
  
  <p><a href="https://i.stack.imgur.com/IIHDP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IIHDP.png" alt="enter image description here"></a></p>
  
  <p>But what I really want is for the rows (tr 1 and 8 in this case) to be styled with a green background, not just the cells.</p>
  
  <p>What can I do to achieve this?</p>