Thursday, February 4, 2016

DataTables JQuery: DataTables warning: table id=example - Requested unknown parameter '3' for row 0. For more information about this error, please see http://datatables.net/tn/4



DataTables warning: table id=example - Requested unknown parameter '3' for row 0. For more information about this error, please see http://datatables.net/tn/4
 
This simple solution works for my problem.

<tr>
    <th>Field 1</th>
    <%
        if (showField) {
    %>   
    <th>Field 2</th>
    <th>Field 3</th>
    <%
        } else {
    %>

    <td colspan="2">
        Information, error o warning message!!
    </td>
    <td hidden="true"></td>
</tr>

No comments:

Post a Comment