How to disable a row comment

How to disable a row comment

GoadneyGoadney Posts: 1Questions: 1Answers: 0
edited December 18 in Free community support

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>

This question has an accepted answers - jump to answer

Answers

Sign In or Register to comment.