DataTables warning: table id=project_table - Requested unknown parameter 'id' for row 0, column 0. For more information about this error, please see http://datatables.net/tn/4 in jqeury solve error code example

Example 1: DataTables warning: table id=DivisionTable - Requested unknown parameter '0' for row 0, column 0. For more information about this error

Plain text123456789$('#example').DataTable( {    data: data,    columns: [        { data: 'name' },        { data: 'position' },        { data: 'salary' },        { data: 'office' }    ]} );

Example 2: Requested unknown parameter '0' for row 0, column 0. For more information about this error

var data = [
    ["UpdateBootProfile","PASS","00:00:00",[]] ,
    ["NRB Boot","PASS","00:00:50.5000000",[{"TestName":"TOTAL_TURN_ON_TIME","Result":"PASS","Value":"50.5","LowerLimit":"NaN","UpperLimit":"NaN","ComparisonType":"nctLOG","Units":"SECONDS"}]] ,
    ["NvMgrCommit","PASS","00:00:00",[]] ,
    ["SyncNvToEFS","PASS","00:00:01.2500000",[]]
];

Tags:

Misc Example