Level 15
I don't have a lot of experience with this package but I am somewhat familiar with datatabels. It could be because you to not have a header column defined for your actions column that you are trying to add. So datatables doesn't know where to add your column data.
Try this.
<table class="table table-bordered responsive nowrap" id="mats-table" style="width: 100%" ; border="none">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Type</th>
<th>Location</th>
<th>SOH</th>
<th>Price</th>
<th>Action</th>
</tr>
</thead>
</table>
2 likes