datatable not working

datatable not working

sainixsainix Posts: 13Questions: 6Answers: 0

showing a error Cannot set property '_DT_CellIndex' of undefined

This question has accepted answers - jump to:

Answers

  • glendersonglenderson Posts: 231Questions: 11Answers: 29

    You have not made reference to the necessary .js files in your code correctly.

  • sainixsainix Posts: 13Questions: 6Answers: 0

    I have all necessary js files and code work fine in small tables but when the table table data in large size and shown in table it gives error. i dont know why . same code works fine in some page and rest pages not work ....

    i need a serious help

    thanks

  • glendersonglenderson Posts: 231Questions: 11Answers: 29
    Answer ✓

    Are you sure that the number of header elements is equal to the number of columns passed from your data? From my experience, I would have either too many or too few (forget which one).

    Which raises another question, is the data coming from a dom table, or json data?

  • bhatt_axaybhatt_axay Posts: 46Questions: 12Answers: 3
    Answer ✓

    Please see your response from server how many number of rows return from the server and how many column are there in you table for dropping each row from the server.
    If this count are not match than it will not work show me the code for more help.

  • sainixsainix Posts: 13Questions: 6Answers: 0

    i m giving a link where my code is install please see url and check my table format correct or not i m not specify any css only htm table part . and one thing more this my actual code of my project .

    https://jsfiddle.net/sainix/yxwfjrwv/

  • sainixsainix Posts: 13Questions: 6Answers: 0

    plus this above table is generated using asp.net mvc with various condition in tables . actually table show data from multiple database table in one view .

    thanks and sorry for my bad english

  • bhatt_axaybhatt_axay Posts: 46Questions: 12Answers: 3
    Answer ✓

    Please specify your problem more clearly. Your table shows proper answer.

  • sainixsainix Posts: 13Questions: 6Answers: 0

    Well code has been fixed , thanks for suggestion it helps me sir

  • bhatt_axaybhatt_axay Posts: 46Questions: 12Answers: 3

    okk thats good

    Best luck

This discussion has been closed.