title: How to set table row class value dynamically in openui5 / sapui5?
body: <p>There is a openui5 offical example about <a href="https://openui5.hana.ondemand.com/explored.html#/sample/sap.m.sample.Table/code" rel="nofollow noreferrer">table</a>.</p>
  
  <p>Is there anyway to set class attribute dynamically for table row in the Table.view.xml.</p>
  
  <pre><code>&lt;ColumnListItem&gt;
      &lt;cells&gt;
          &lt;ObjectIdentifier
              title="{Name}"
              text="{ProductId}"/&gt;
          &lt;Text
              text="{SupplierName}" /&gt;
          &lt;Text
              text="{Width} x {Depth} x {Height} {DimUnit}" /&gt;
          &lt;ObjectNumber
              number="{WeightMeasure}"
              unit="{WeightUnit}"
              state="{
                  path: 'WeightMeasure',
                  formatter: 'sap.m.sample.Table.Formatter.weightState'
              }" /&gt;
          &lt;ObjectNumber
                  number="{
                      parts:[{path:'Price'},{path:'CurrencyCode'}],
                      type: 'sap.ui.model.type.Currency',
                      formatOptions: {showMeasure: false}
                  }"
                  unit="{CurrencyCode}" /&gt;
      &lt;/cells&gt;
  &lt;/ColumnListItem&gt;
  </code></pre>
  
  <p>Eg. 
  row 1</p>
  
  <pre><code>&lt;ColumnListItem class="bg-gray"&gt;
  </code></pre>
  
  <p>row 2</p>
  
  <pre><code>&lt;ColumnListItem class="bg-blue"&gt;
  </code></pre>
  
  <p>row 3</p>
  
  <pre><code>&lt;ColumnListItem class="bg-green"&gt;
  </code></pre>
  
  <p>The following code does not meet the requirements：</p>
  
  <pre><code>&lt;ColumnListItem class="{rowStyle}"&gt;
  </code></pre>