title: Change row class of table based on value of cell
body: <p>Is it possible to change row class (using bootstrap) based of value of data cell?
  Something like this:
  (here I hard coded class into row) 
  <a href="https://i.stack.imgur.com/YUh4F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YUh4F.png" alt="enter image description here"></a></p>
  
  <p>Here is fragment of code </p>
  
  <pre><code> onEachFeature: function (feature, layer) {
      if (feature.properties) {
        var content = "&lt;table class='table table-striped table-bordered table-condensed'&gt;" + "&lt;tr&gt;&lt;th&gt;Šifra trafostanice&lt;/th&gt;&lt;td&gt;" + feature.properties.ts_sifra + 
        "&lt;/td&gt;&lt;/tr&gt;" + "&lt;tr&gt;&lt;th&gt;Name&lt;/th&gt;&lt;td&gt;" + feature.properties.ts_naziv + "&lt;/td&gt;&lt;/tr&gt;" +  
        "&lt;tr&gt;&lt;th&gt;Code&lt;/th&gt;&lt;td&gt;" + feature.properties.sifra_lampe + "&lt;/td&gt;&lt;/tr&gt;" +
        "&lt;tr&gt;&lt;th&gt;Power&lt;/th&gt;&lt;td&gt;" + feature.properties.tip_lampe + "&lt;/td&gt;&lt;/tr&gt;" +
        "&lt;tr&gt;&lt;th&gt;Pole type&lt;/th&gt;&lt;td&gt;" + feature.properties.vrsta_stupa + "&lt;/td&gt;&lt;/tr&gt;" +
        "&lt;tr&gt;&lt;th&gt;Adress&lt;/th&gt;&lt;td&gt;" + feature.properties.adresa + "&lt;/td&gt;&lt;/tr&gt;" +
        "&lt;tr&gt;&lt;th&gt;Services&lt;/th&gt;&lt;td&gt;" + feature.properties.datum + "&lt;/td&gt;&lt;/tr&gt;" 
        "&lt;/table&gt;";.....
  </code></pre>
  
  <p>Using code above i get something like this:
  <a href="https://i.stack.imgur.com/QcZRH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QcZRH.png" alt="enter image description here"></a></p>
  
  <p>So, my question is is it possible to change class of row based of data value?</p>
  
  <blockquote>
    <p>(Example if value of table row Services is 'Nema servisa' add class
    success else leave row unchanged)</p>
  </blockquote>