2016-04-01 5 views

Antwort

1

Ich habe diese verwendet. Und es funktioniert :)

<div class="row"> 
     <table id='data-table'> 
      <thead> 
      <tr class='header'> 
       <th>TestCase</th> 
       <th>TestScript</th> 
       <th>MonType</th> 
      </tr> 
      </thead> 
     </table> 
    </div> 



dc.dataTable('#data-table') 
     .dimension(TestCaseDim) 
      .group(function (d) { 
       return d.Timestamp.bold().fontcolor("darkblue"); 
      }) 
     .columns([ 
      function (d) { return d.TestCase; }, 
      function (d) { return d.TestScript; }, 
      function (d) { return d.MonitorType; } 

     ]) 
     .size(500) 
     .order(d3.descending) 
     .renderlet(function (table) { 
      table.selectAll('.dc-table-group').classed('info', true); 
     }); 
Verwandte Themen