Support » Plugin: TablePress » Sort no longer working with Tablepress

  • Resolved ecrosen

    (@ecrosen)


    The sort function stopped working on my table. I get the following error in the browser console

    Uncaught TypeError: Cannot set property ‘_DT_CellIndex’ of undefined
    at Ha (jquery.datatables.min.js:24)
    at O (jquery.datatables.min.js:16)
    at HTMLTableRowElement.<anonymous> (jquery.datatables.min.js:17)
    at jquery.js:2
    at Function.map (jquery.js:2)
    at a.fn.init.map (jquery.js:2)
    at na (jquery.datatables.min.js:16)
    at e (jquery.datatables.min.js:92)
    at HTMLTableElement.<anonymous> (jquery.datatables.min.js:93)
    at Function.each (jquery.js:2)

    Any suggestions would be most appreciated

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The cause for this is the use of #colspan# in row 271. Unfortunately, the DataTables JS library is not compatible with such connected/combined cells.
    You must remove all #colspan# in the table if you want to use the JavaScript features.

    Regards,
    Tobias

    Thank you. I thought I had searched and found all of them after reading some previous solutions. Sorry to repeat an issue.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.