DataTables warning (table id = 'example'): Requested unknown parameter '0' from the data source for

DataTables warning (table id = 'example'): Requested unknown parameter '0' from the data source for

karnesh141karnesh141 Posts: 4Questions: 0Answers: 0
edited October 2013 in DataTables 1.9
Am using DataTable 1.9 Plugin in my application am getting records from my Service, and that records as passing in the form of Array to "aaData", So now problem is from my service i am getting only 1 one record. but this plugin creating 9 empty row and 1 actual data is show in last 10th row. after it show is error.

I want Datatable should create row basis of getting no of records.

Replies

  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    Please link to a test page showing the problem as noted in the forum rules.

    Allan
  • karnesh141karnesh141 Posts: 4Questions: 0Answers: 0
    Hi allan

    Before loading data show error message. and showing empty row also.

    Link is here.
    http://dreamjeenew.mysociety.co.in/testingpurpose.aspx

    please give response as soon as possible with solution.
  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    Where are the empty rows coming from? It looks to me like that is the problem. Are they in the HTML that is rendered for the table?

    Allan
This discussion has been closed.