• Resolved spiroumz

    (@spiroumz)


    Hi

    I use TablePress and I’m very happy with that Plugin!

    Since a few weeks new tables can’t use the JavaScript functions (search, sort, etc.). There are tables where it works but other tables do not work. I updated WordPress and all Plugins but that did not help. I get this error on the developer view:

    jquery.datatables.min.js?ver=1.9:24 Uncaught TypeError: Cannot set property ‘_DT_CellIndex’ of undefined
    at Ga (jquery.datatables.min.js?ver=1.9:24)
    at M (jquery.datatables.min.js?ver=1.9:16)
    at HTMLTableRowElement.<anonymous> (jquery.datatables.min.js?ver=1.9:16)
    at jquery.js?ver=1.12.4:2
    at Function.map (jquery.js?ver=1.12.4:2)
    at a.fn.init.map (jquery.js?ver=1.12.4:2)
    at ma (jquery.datatables.min.js?ver=1.9:16)
    at e (jquery.datatables.min.js?ver=1.9:92)
    at HTMLTableElement.<anonymous> (jquery.datatables.min.js?ver=1.9:92)
    at Function.each (jquery.js?ver=1.12.4:2)

    Do somebody know what I can try to do?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    This indicates that the table doesn’t have a perfectly rectangular structure. This could e.g. be caused by using #colspan# or #rowspan# in the table. Are you using those?
    If not, there’s most likely some invalid HTML code in the table, for example missing quotation marks " in some HTML parameter.

    Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter spiroumz

    (@spiroumz)

    Hi Tobias

    Thank you very much for your valuable hint! It realy was a html error in the cell value. So it was my fault and your plugin works very well 😉

    Cheers,
    Michael

    Plugin Author Tobias Bäthge

    (@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)

The topic ‘JavaScript functions do not work’ is closed to new replies.