Cannot set property '_DT_CellIndex' of undefined site:datatables.net

Cannot set property '_DT_CellIndex' of undefined site:datatables.net

programmingtechprogrammingtech Posts: 3Questions: 1Answers: 0

Hi ,
basically, I am using data tables to display data dynamically to the table but unfortunly this error is prompt in the console.
Which also effects on <th> and <td> position e.g <price> not show in respective col.
Please can anyone assist me in how we solve this issue?
Thank you

Link for testing:https://www.gisixsport.it/prodotto/ginocchiera-knee-pad/ :smile:
**Error messages shown
: Cannot set property '_DT_CellIndex' of undefined site:datatables.net

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Your page expects a login, so we can't look at it, I'm, afraid,

    Colin

  • programmingtechprogrammingtech Posts: 3Questions: 1Answers: 0

    Hi, sorry my bad .
    Please try it now
    Thank you

  • kthorngrenkthorngren Posts: 21,262Questions: 26Answers: 4,934
    Answer ✓

    The problem is that you defined 7 columns in the thaed but only have 6 columns in each table row. For Datatables to work it they need to match.

    Kevin

  • programmingtechprogrammingtech Posts: 3Questions: 1Answers: 0

    Thank you for your help now it is working :)

Sign In or Register to comment.