Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82440

How to disable a row comment

$
0
0

Hello everyone, I haven't found any solutions on various forums or on this one either, so I'm taking the liberty of asking the question.
In my project, I want to display comments on quotation lines.
These are <tr> lines, since the comments must appear below the commented line.
However, when I do this, as you can imagine, I take a :
DataTables warning: table id=sortable - Incorrect column count. For more information about this error, please see http://datatables.net/tn/18

I'd like to know if there's a way to just disable specific lines that datatable won't take into account but will still display.
Thanks in advance

code :
<tr class="text-sm font-semibold bg-white border-b border-[#e8e8e8]">
<td class="p-2 text-xs">{{ $line->product['real_product']['reference'] }}</td>
<td class="p-2 text-xs">{{ $line->product['product_id'] }}</td>
</tr>
//this tr below should be disabled because it has only 1 td..
<tr>
<td colspan="12" class="p-4 text-gray-600">
{{ $line->comment }}
</td>
</tr>


Viewing all articles
Browse latest Browse all 82440

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>