odd & even

odd & even

MajsbagarnMajsbagarn Posts: 2Questions: 2Answers: 0

Hi!

So the dataTable works perfectly except the stripe option. I output my table with php and when I look at it in Firebug I can see that the tr got the class of odd & even. I don't know why it's not working and I'm strating to go crazy!

I'll strip down the html to the table as I know all files are working correctly.
the < > are missing on table to be able to show it in forum text.

PHP:

$datalist .= "
<tr>
<td>$id</td>
<td>$subcategory</td>
<td>$data_name</td>
<td>$date_added</td>
</tr>";

HTML:

table id="tableexample" class="display"
<thead>
<tr>
<th>ID</th>
<th>subcategory</th>
<th>data name</th>
<th>date added</th>
</tr>
</thead>
<tbody>
<?php echo $product_list; ?>
</tbody>
/table

Thanks in advanced!

Answers

  • tangerinetangerine Posts: 3,151Questions: 27Answers: 367

    Are you including the relevant CSS file(s)?

This discussion has been closed.