Research in single columns doesn't work
Research in single columns doesn't work
fibo
Posts: 2Questions: 1Answers: 0
I'm new in javascript programming. I'm trying to set-up the plug-in to search in single columns.
I've this script
```
Applied to this HTML
``` <table class="tableDati" id="opTable">
<thead>
<tr>
<th class="text-center">Data</th>
<th class="text-center">Cod. Art.</th>
<th class="text-center">Marca</th>
<th class="text-center">Col.</th>
<th class="text-center">N°</th>
</tr>
</thead>
<tfoot>
<tr>
<th class="text-center">Data</th>
<th class="text-center">Cod. Art.</th>
<th class="text-center">Marca</th>
<th class="text-center">Col.</th>
<th class="text-center">N°</th>
</tr>
</tfoot>
<tbody>
<tr class="dat">
<td class="text-center">11-04-2016</td>
<td class="text-center">XYZ</td>
<td class="text-center">Brand 1</td>
<td class="text-center">Black</td>
<td class="text-center">37</td>
</tr>
<tr class="dat">
<td class="text-center">11-04-2016</td>
<td class="text-center">XYF</td>
<td class="text-center">Brand 2</td>
<td class="text-center">Red</td>
<td class="text-center">42</td>
</tr>
</tbody>
</table>
When I try to search in the single columns it gives as result: "No matching records found" also if the data are present in the columns.
This discussion has been closed.
Answers
I'm afraid. This is my javascript code