DataTables warning: table id=data-table - Requested unknown parameter '1' for row 0, column 1. For more information about this error, please see http://datatables.net/tn/4 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 text12345678910111213141516171819202122232425262728293031323334353637383940        using (var db = new Database(sqlType, connectionSQL))         {            var response = new Editor(db, "tblImmigrationNotes", new[] { "imnImmigrationNoteID" })                .TryCatch(true)                .Model<StudentImmigrationNotesModel>()                .Field(new Field("imnAdvisingDate")                    .Validator(Validation.DateFormat(                        Format.DATE_ISO_8601,                        new ValidationOpts { Message = "Please enter a date in the format yyyy-mm-dd" }                    ))                    .GetFormatter(Format.DateSqlToFormat(Format.DATE_ISO_8601))                    .SetFormatter(Format.DateFormatToSql(Format.DATE_ISO_8601))                )                    .Field(new Field("imnStudentUserID")                    .Validator(Validation.Required())                )                    .Field(new Field("imnSchoolMasterID")                    .Validator(Validation.Required())                )                    .Field(new Field("imnAdvisingAction")                    .Validator(Validation.NotEmpty())                )                    .Field(new Field("imnAdvisingType")                    .Validator(Validation.NotEmpty())                )                    .Field(new Field("imnAdvisingSource")                    .Validator(Validation.NotEmpty())                )                    .Field(new Field("imnAdvisingNote")                    .Validator(Validation.NotEmpty())                )                // no more fields                .Process(request)                .Data();             return Json(response);        }    }}

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